Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ghost from the SQLExec()
Message
De
03/03/2006 18:31:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Ghost from the SQLExec()
Divers
Thread ID:
01101438
Message ID:
01101438
Vues:
53
There should be something obvious I am missing here. I just can't see what it is.

I can do the following:
lnHandle=SQLStringConnect('Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=d:\WWW\DirectMartialArts;'+;
 'Exclusive=No;Collate=Machine;NULL=NO;Deleted=Yes;BACKGROUNDFETCH=NO')
? lnHandle
This gives me a valid handle.

I can also do this:
SELECT * FROM d:\WWW\DirectMartialArts\Event
And, this gives me the related data.

But, why doing it with SQLExec() generates a -1?
? SQLExec(lnHandle,'SELECT * FROM Event')
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