Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import from other database table or text file
Message
De
10/10/2000 12:14:32
 
 
À
10/10/2000 11:46:10
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00427335
Message ID:
00427355
Vues:
12
1. docmd.transferdatabase......
You could do that if you're using VBA in MS Access 95 or later. From a VB5 or later project, you must open a Reference to MS Access object library for to use DoCmd object.

2. ADO
The popular way. You must create a DSN pointing to your FoxPro, Text File or Access table (obviously, you must install the drivers). Then, get records from Source Recordset, build a SQL's INSERT INTO, execute on Target Recordset, and so on.

I'm not sure, but I believe there is other better ways, some command on ADO for transfer tables or maybe it only exist on VBA for Access.

glurrea
glurrea
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform