Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call SQL Stored Proc With Output Param
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01396149
Message ID:
01396151
Views:
56
Check Re: Can stored procedures return values? Thread #876879 Message #876903

>I can't seem to get this to work. SQL is returning Syntax Error:
>
>
>SELECT Import
>SCAN
>
>	sPartNo = ALLTRIM(Import.PartNo)
>	iPartId = 0
>	
>	sCommand = "exec ap_GetPartIdByPartNo ?@sPartNo, ?@iPartId OUTPUT "
>	iResult = SQLEXEC(iConnHandle , sCommand)
>
>	IF iResult < 0
>		AERROR(ArrayName)
>	ENDIF
>
>ENDSCAN
>
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform