Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC automation
Message
 
À
11/08/1999 14:36:41
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00252642
Message ID:
00252703
Vues:
10
>Thanks for your help.
>
>But how do I open the access database in VFP. Can I use command?
>
>Thanks,
>Sergio
Look at SQLCONNECT, SQLEXEC, SQLDISCONNECT

If your ODBC DSN = 'My Data', you can connect to your source with...

ln=sqlconnect('My Data')

to get the data out of the sales table in that db,

lnresult=sqlexec(ln,'Select * from sales','_sales')


Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform