- Chris Goedde
- PowerBuilder
- Thursday, 1 February 2024 05:46 PM UTC
I am trying to use a datawindow and insert a row with a stored procedure.
The table is very simple. It just has an id and a name column.
The id column of the insert is an identity column. The stored procedure returns the identity value when it completes.
What I don't know how to do is how to get the return value from the stored procedure so I can use it. dw.Update() just gives me a value of 1. Is there a way to do this or use an in/out parameter and get the value of it?
I have been running into issues trying to use the Declare Procedure pattern so I am looking into alternatives.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.