Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass a web variable to a stored procedure
Message
From
29/01/2008 15:19:22
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01257541
Message ID:
01286893
Views:
45
>>>Probably, that's what Cetin recommended. But wouldn't know how to return the value to ASP.
>>
>>Here's a SP Example lifted from the web:
>>** sp_insert
>>PARAMETERS value
>>SET NULL OFF
>>INSERT INTO table1 (field1) VALUES (m.value)
>>CREATE CURSOR result (result i)
>>INSERT INTO result VALUES (GetAutoincValue())
>>RETURN SETRESULTSET("result")
>>
>
>AFAIK you don't need it as a resultset and may return it as an output parameter. Should work the same, I think.

True. Just RETURN GetAutoIncValue() works fine....
Previous
Reply
Map
View

Click here to load this message in the networking platform