Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I create an ACCESS table from a FOXPRO table?
Message
De
06/04/2000 19:15:16
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
06/04/2000 14:52:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00356151
Message ID:
00356598
Vues:
23
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)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform