Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Pass Through Question
Message
 
 
To
14/08/2003 13:59:40
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00820262
Message ID:
00820272
Views:
15
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform