Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting to an MS Access Database
Message
De
20/06/2003 00:49:51
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00802042
Message ID:
00802063
Vues:
31
>My question is, what will be my best way to connect to the MS Access Database? This is my first attempts at Remote Views and Connections. Is ODBC by only and best choice? Is COMM or DCOM a choice for me?

You can use Automation (i.e. COM) to connect to MS Access Databases (.MDBs) via DAO or ADO (the 2 commonly used object models).

Which is "best" (COM, remote views and ODBC) is maybe more a matter of personal preference.

I prefer COM because it is object oriented, and since VB generally uses DAO or ADO, it's easier to port Access samples (which are many) from VB to VFP ... I also think COM (in this case) is more fun.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform