Hi,
I have a form called frmReportdates - This form has two text boxes txtfrom and txtto (for the dates) & a clickable button which opens the report -
In the query of the report I set the dte criteria to :
Between [forms]![frmReportdates]![txtFrom] And [forms]![frmReportdates]![txtTo]
the form works as desired. but I want to use this frmReportdates as a subform for frmemployees, but i cant get it to work. When i click on the button it gives me an error asking for "Forms!frmReportdates!txtFrom"
any ideas? thanks!
I have a form called frmReportdates - This form has two text boxes txtfrom and txtto (for the dates) & a clickable button which opens the report -
In the query of the report I set the dte criteria to :
Between [forms]![frmReportdates]![txtFrom] And [forms]![frmReportdates]![txtTo]
the form works as desired. but I want to use this frmReportdates as a subform for frmemployees, but i cant get it to work. When i click on the button it gives me an error asking for "Forms!frmReportdates!txtFrom"
any ideas? thanks!