Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I create an ACCESS table from a FOXPRO table?
Message
From
06/04/2000 19:15:16
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
06/04/2000 14:52:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00356151
Message ID:
00356598
Views:
13
Hi Guys,

Sorry for intruding into your thread, but I have an application which needs to export to Access. I've been doing it the hard way, exporting records to a DBF, going into Access and importing the Table. The method you've illustrated will come in very handy for my users.

Thanks,
Gavin...

>>Thank you very much! Could you please tell me more about ADO?? I want to create an ACCESS table programmaticly without using ACCESS at all.
>>
>>Thanks in advance
>>
>>P.S. Sorry for my bad english... :(
>
>This is VFP code that creates a table in an existing Access .mdb: (HTH)
>
>Local oTbl, oCat
>
>oCat = CreateObject("ADOX.Catalog")
>oTbl = CreateObject("ADOX.Table")
>
>oCat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.3.51;"+;
>   	"Persist Security Info=False;"+;
>   	"Data Source=D:\Test\db1.mdb"
>
>oTbl.Name = "MyTable"
>oTbl.Columns.Append("Column1", 129)
>oCat.Tables.Append(oTbl)
>
Previous
Reply
Map
View

Click here to load this message in the networking platform