Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What does SQLPREPARE return as its numeric?
Message
From
12/09/2004 11:41:00
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
00941453
Message ID:
00941457
Views:
9
Thanks Martin.

It seems to return 1 when it went OK.

UPDATE: I seem to get an outright error (1466) if I code a bad handle (eg. 72)

cheers

>Hi Jim,
>
>If you send bad SQL command, the function return -1.
>If handle is invalid, the function return -2.
>
>MartinJ
>
>>The docs on SQLPREPARE say the return is numeric. Unfortunately, it doesn't say what, under which conditions (e.g. bad SQL or handle doesn't exist or all is OK).
>>
>>Does anyone know what it returns, in which cases????
>>
>>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform