Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a return value from a SQL stored procedure.
Message
From
13/04/2005 08:25:52
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01004084
Message ID:
01004105
Views:
21
>What's return value from SQLEXEC()? If it's -1, what ODBC error AERROR() reports?

-1
1526
"Connectivity error: [Microsoft][ODBC SQL Server Driver]Numeric value out of range"
"[Microsoft][ODBC SQL Server Driver]Numeric value out of range"

>The Sp parameters list should be encloused in parenthessis.
It is now but still not working.

{?@nOutVal=CALL Claim.dbo.RepairSP_UpdateRepairOrder(261657,5002,'',NULL,NULL,NULL,NULL,NULL,NULL,0.000000,NULL,NULL,NULL,NULL,NULL,0,NULL,'',NULL,'',4,15358,NULL,NULL,NULL,1,NULL,1,NULL)}
>BTW, why're you using hardcoded ODBC connection handle?

Just to show you the value - it is using a variable in the actual code.

Thanks.
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform