Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server Application Roles
Message
 
To
02/05/2001 17:21:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00502767
Message ID:
00502945
Views:
19
>I do not get a specific error, because it is an ODBC connection. I get a -1 as a return value. Ex:
>lnHandle = SQLEXEC(lnCon,"Exec sp_setapprole 'Role','Password')
>
>lnHandle is getting a return value of -1 which means I did not get a connection.

Try AERROR()
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform