Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access Data
Message
 
À
09/08/2004 15:43:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00931851
Message ID:
00931887
Vues:
18
>Does anyone know how I can append records from an access database into my VFP 7.0 database?

You can connect to the access database with either:
SQLCONNECT()
or
SQLSTRINGCONNECT()

So if your access database has a DSN in the ODBC:
nHandle=SQLCONNECT('MyAccessDSN')

Then use SQL to get the Access table Data into a VFP cursor:
nSuccess=SQLEXEC(nHandle,"SELECT * FROM MyAccessTable","MyAccessCursor")

Then parse your cursor to the table.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform