B
Bill
Thanks Steve,
I put four queries like you provide "Between...... and .... " . When
I get preview report with four different subforms then I decide to click
a print button (toolbox). The result is that i get four times two pop-up
box to enter from and to date. Can I do once from the form when
entering from date and to date so that it takes care of it all including
print button.
Your feedback will be much appreciated.
Thanks,
********************************
Bill,
One approach you might consider is to put two unbound textboxes on your
form, and enter your beginning date and end date in these textboxes.
Then, in the query that your report is based on, you can refer to these
textboxes in the criteria. If I understand you correctly, this will
mean something like this in the criteria of your date field in the query...
Between [Forms]![YourForm]![DateFrom] And [Forms]![YourForm]![DateTo]
I put four queries like you provide "Between...... and .... " . When
I get preview report with four different subforms then I decide to click
a print button (toolbox). The result is that i get four times two pop-up
box to enter from and to date. Can I do once from the form when
entering from date and to date so that it takes care of it all including
print button.
Your feedback will be much appreciated.
Thanks,
********************************
Bill,
One approach you might consider is to put two unbound textboxes on your
form, and enter your beginning date and end date in these textboxes.
Then, in the query that your report is based on, you can refer to these
textboxes in the criteria. If I understand you correctly, this will
mean something like this in the criteria of your date field in the query...
Between [Forms]![YourForm]![DateFrom] And [Forms]![YourForm]![DateTo]