passing variables..

V

Vincent Jones

a switchboard that has it's recordsource connected to a stored
procedure. the stored procedure takes two values. a beginning date
and an end date. this then opens the switchboard with the total
hours. i have a text box bounded to the stored procedure with the
total hours displayed. on the switchboard are controls to view
various reports. the reports also take two variables: a beginning
date and an end date. when i click the button to display the report,
the stored procedure prompts me for the two variables again. is there
an easier approach that would allow me to pass those variables the
first time it prompts me.
vj
 
J

J. Clay

I just read this post after replying to your previous post. In this case, I
would probably set default values on the two field of the form and set the
InputParameters values of the form datasource equal to these values. Then
when the button is pressed, you can change the value of the InputParameters
of the form which will automatically trigger a requery.

J. Clay
 

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