Importing a .dbf-file

Never4Get

Registered User.
Local time
Today, 08:23
Joined
Aug 24, 2001
Messages
14
I can easily import a .dbf-file using the option <Import...> under the menu <File> but I would like to import the same file using VB-code. I already tried DoCmd.TransferText but this method has to many arguments.
What method should I use instead?
Thanx in advance
 
If it's a .dbf file then you would want to use the DoCmd.TransferDatabase method rather than .TransferText.

If you feel that there are too many arguments!!, then the alternative would be to use the TransferDatabase Action in a Macro rather than VB. But, this could be restrictive if you wish to parameterise any arguments.
 
You were right.
Using the TransferDatabase method is what I did.
 

Users who are viewing this thread

Back
Top Bottom