Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Troubleshooting on SQLExec connectivity
Message
De
19/06/2006 18:38:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Troubleshooting on SQLExec connectivity
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01130093
Message ID:
01130093
Vues:
80
When I do this command:
lnHandle=SQLStringConnect("Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=d:\data;Exclusive=No;NULL=NO;
 Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO")
lnHandle contains a valid ID. If I do the command again, lnHandle increments by one. So, this shows that the connection is valid.

Now, when I try to do this:
? SQLEXEC(lnHandle,"SELECT * FROM Customer")
It always return -1. What am I missing?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform