Obtaining a field from a loaded form.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all

I'm working on a report that uses a query to filter out the records. On the report I have a text box referencing a value on the form. When I run the form and press the button to display the report I get an error for that field.

If I run the form and manually open the report in design view, switch to the loaded form and reselect the value, and then view the report the value shows up. It's like the value getting lost

Any ideas
Rodney
 
rodchar said:
I'm working on a report that uses a query to
filter out the records. On the report I have a
text box referencing a value on the form. When
I run the form and press the button to display
the report I get an error for that field.

If I run the form and manually open the report in
design view, switch to the loaded form and
reselect the value, and then view the report the
value shows up. It's like the value getting lost.


It sounds like you're closing the form before the report can
retrieve the value.
 
Back
Top