
Signature
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden
> I've tried implementing this but I'm getting an odd error. For
> strFoxProPath I've put "c:\fox\fn125.dbf", but when I execute it I get:
[quoted text clipped - 40 lines]
>>>
>>> James
Hi Cindy,
As you've probably seen with my reply to Klatuu, my exact statement is:
DoCmd.TransferDatabase acLink, "dBase III", "c:\fox\fn125.dbf", acTable,
"tblStock"
Although I've also tried:
DoCmd.TransferDatabase acLink, "dBase III", "c:\fox\fn125.dbf", acTable
and:
DoCmd.TransferDatabase acLink, "dBase III", "c:\fox\fn125.dbf", acTable, ,
"tblStock"
They all yield a run-time error 3044 telling me that my path is invalid.
If we assume that the Foxpro file is c:\fox\fn125.dbf can you tell me
exactly what line(s) of code to use to import it into Access?
Thanks!
James
>> --------------------
>>
[quoted text clipped - 5 lines]
>>
>> --------------------
> Hi James,
>
[quoted text clipped - 48 lines]
>>>>
>>>> James
Gord - 06 Jul 2005 15:11 GMT
DoCmd.TransferDatabase acLink, "dBASE III", "c:\fox", _
acTable, "fn125", "fn125.DBF"