clear the text box each time the form is open

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

Guest

I have made a report which takes its parameters from the form (there is a
text box and a combo box in the form). Where and what code should I put so
that whenever the form is open, its text box and combo box is empty. Right
now it shows the data from previous report. Thanks.
Purnima
 
Purnima Sharma said:
I have made a report which takes its parameters from the form (there is a
text box and a combo box in the form). Where and what code should I put so
that whenever the form is open, its text box and combo box is empty. Right
now it shows the data from previous report. Thanks.
Purnima

It shouldn't unless you have the form bound to a table and the controls bound to
fields in that table.

I have seen unbound forms retain a value when going to design view and back, but
if you *close* it they should not be there the next time you open it.
 
Back
Top