Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transfer FoxPro to Access
Message
From
07/12/2001 11:24:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/12/2001 07:58:44
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00591029
Message ID:
00591197
Views:
27
>Çetin, I am somewhat amazed over this, being 100% new to ODBC. I checked out your faq#8039, made a small prg and lo and behold - it all worked beautifully. Access DDB tables flying into Fox files. So thanks. As for the reversion - i.e. going Fox to Access, it's not at all clear to a OCBC newcomer like me yet what to edit in your prg but I'll get the magnifying glass out. THANKS Denis

Denis,
Automation from VFP side is also an option :
#DEFINE acImport	0	
#DEFINE acTable	0	

lcMDB = GETFILE('MDB')
lcVFPDataPath = _samples+'\data\testdata.dbc'
oAccess = CREATEOBJECT("Access.application")
oAccess.OpenCurrentDatabase(lcMDB,.f.)
oAccess.DoCmd.TransferDatabase(acImport, "ODBC Database", ;
    "ODBC;DSN=Visual FoxPro Database;UID=;PWD=;" +;
    "SourceDB="+lcVFPDataPath+";SourceType=DBC;",;
    acTable, "Employee", "VFPEmployee")
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform