Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Pass Through Question
Message
 
 
À
14/08/2003 13:59:40
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00820262
Message ID:
00820272
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Check return value of SQLEXEC(). If it's -1 than request failed. You can use AERROR() to get more info about ODBC error.

>How can test that the SPT returned a valid cursor? I have my connect code then I do a If reccount() > 0 assign cursor data to parameters. I am getting misleading data in my app. Example: I opened the remote table for modifying. Then I ran the app that has the SPT and it didn't tell me the SQL statement didn't return a cursor just that the parameters I wanted to assign the cursor data to failed. The reccount() must be getting populated from the last opened table or cursor. Please help. I need to know if the remote table is not accessible and keep the app from proceding any further.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform