Stored procedure is recordsource for form and should return a parameter. How?

F

furkat

Hi All

one of my forms is based on the results of stored procedure (that is
Form.RecordSource="exec MySP")
MySP has an output parameter as well. How can I get this parameter from this
stored procedure? I can't call it twice as output parameter can change...

Thanks

Furkat
 
M

Mary Chipman

Re-write the stored procedure's output parameter value as an
additional column in the SELECT statement. You['ll get the value in
every row in the result set, but you don't need to display it in a
control on the form. Access forms aren't designed to handle output
parameter values.

--Mary
 
F

furkat

Thanks,
it works...
Furkat

Mary Chipman said:
Re-write the stored procedure's output parameter value as an
additional column in the SELECT statement. You['ll get the value in
every row in the result set, but you don't need to display it in a
control on the form. Access forms aren't designed to handle output
parameter values.

--Mary

Hi All

one of my forms is based on the results of stored procedure (that is
Form.RecordSource="exec MySP")
MySP has an output parameter as well. How can I get this parameter from this
stored procedure? I can't call it twice as output parameter can change...

Thanks

Furkat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top