Hey
This seems like a silly question, but here it is:
I'm trying to populate a textbox in a VB 6 app with an output parameter from a stored procedure and I'm not sure how to set the value or where to set it.
I call the procedure from a module and can debug.print the result fine... do I set the txtbox on the module or on the form?
I've tried:
cmdTestCount(Click)
Call the procedure
txtTestResult.Text = PrmTestCount
(where prmTestCount is the result from the SP)
And I get a "Variable not defined" error.
Thanks for any advice.
This seems like a silly question, but here it is:
I'm trying to populate a textbox in a VB 6 app with an output parameter from a stored procedure and I'm not sure how to set the value or where to set it.
I call the procedure from a module and can debug.print the result fine... do I set the txtbox on the module or on the form?
I've tried:
cmdTestCount(Click)
Call the procedure
txtTestResult.Text = PrmTestCount
(where prmTestCount is the result from the SP)
And I get a "Variable not defined" error.
Thanks for any advice.