|
-
November 6th, 1999, 03:12 AM
#1
collect return value of stored procedure from application
I got a procedure in MS Sql 7.0 which returns 1 or 2 depending on the execution of the statements in the proc. It takes a parameter also. How can my application recieve this return value. This is how I called the proc.
dim dup as integer
sqlstr = "{dup=CALL dupcode (" & Trim(txt_scancode.Text) & ")} "
cn.Execute sqlstr
This gives error. If I remove the 'dup=', then it works fine, but I dont get the return value.
Please help
Thanks
James
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|