R
Ron
Does anyone know what could be wrong here. I am trying to transfer text from
a text delimited file to a table. This is my code which is simply written to
understand what is going on:
Private Sub Command0_Click()
Application.FollowHyperlink
"\\WOPR2\Data$\Network_Admin\Developed_Software\FinalFunctionalOrderGuideDB\
Test.CSV"
DoCmd.TransferText acImportDelim, "PeachPO",
"\\WOPR2\Data$\Network_Admin\Developed_Software\FinalFunctionalOrderGuideDB\
Test.CSV"
End Sub
When I press the command button the file Tese.CSV opens but I get a 'Run
Time Error 2522' The Action or Method requires a file name argument. Why
does Access recognize the file name and path to follow the hyperlink but not
to transfer text. I am using Access 2000.
Thanks for any help.
Ron
a text delimited file to a table. This is my code which is simply written to
understand what is going on:
Private Sub Command0_Click()
Application.FollowHyperlink
"\\WOPR2\Data$\Network_Admin\Developed_Software\FinalFunctionalOrderGuideDB\
Test.CSV"
DoCmd.TransferText acImportDelim, "PeachPO",
"\\WOPR2\Data$\Network_Admin\Developed_Software\FinalFunctionalOrderGuideDB\
Test.CSV"
End Sub
When I press the command button the file Tese.CSV opens but I get a 'Run
Time Error 2522' The Action or Method requires a file name argument. Why
does Access recognize the file name and path to follow the hyperlink but not
to transfer text. I am using Access 2000.
Thanks for any help.
Ron