Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Acces using VB (http://www.programmingforums.org/showthread.php?t=14197)

u2cannv Oct 20th, 2007 11:20 AM

Acces using VB
 
I created a macro that should be able to export/import a file based on the filename and date. when i insert the code:
=\\c\desktop\"johndoe" & Right("0" & Month(Date()), 2) & Right("0" & Day(Date()), 2) & Right(Year(Date()), 2) & ".txt in the filename field it gives me an error of either filename must end in .txt or .csv or microsoft access cant parse the expression. Can someone tell me whats wrong with my code? this is a macro created in access with the transferText Action.
Thanks

DaWei Oct 22nd, 2007 10:36 AM

Re: Acces using VB
 
Duplicate question. Thread Closed.


All times are GMT -5. The time now is 4:01 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC