Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Troubleshooting on SQLExec connectivity
Message
De
19/06/2006 18:40:24
 
 
À
19/06/2006 18:38:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01130093
Message ID:
01130094
Vues:
16
>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?

What does a call to AERROR() return?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform