Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing from Access 2000
Message
 
À
13/12/2004 11:13:33
Ernie Haffner
Empire BlueCross BlueShield
Melville, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00968721
Message ID:
00969092
Vues:
8
>You learn something new everyday. Open Database Connectivity (ODBC) sounds like a viable solution on my quick internet search.
>
>However, my shop is generic, FoxPro and Access with no utilites allowed, unless approved by the PC police.
>
>I can't believe MicroSoft doesn't have a better solution between its own two products
>
>Ernie

Most Access applications have a DSN in the ODBC. Then it would be just a matter of:
lnHandle=SQLCONNECT("MyAccessDSNinODBC")
lnSuccess=SQLEXEC(lnHandle,"SELECT * FROM MyAccessTable","MyVFPCursor")

But, you can also do it with the Access Object (if you want to get Geeky and avoid the ODBC).
oAccess=createobject('Access.Application')
oAccess.OpenCurrentDataBase("MyAccessMDBName") && etc!
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform