Has any one tried getting the next value of a sequence through a stored procedure and accessing it through dexterity? I created a sequence in the database and a stored procedure to get the next value. the stored procedure works when I try it by itself.
Then in dexterity I created the procedure template where I call the stored procedure from the database using call sproc. I have the call to the procedure template in a form event.
When I tested this, the event called the procedure, but it appears some error is preventing the value from coming back. I have the value stored as a Long in dexterity, the sequence is an integer.
Does anyone know if this can be done, or is there a problem with getting a sequence value into dexterity? Or does anyone know how I can get the error from the procedure to display?
The procedure is granted execution by DYNGRP, the parameters are just the value being returned.
*This post is locked for comments