G
Guest
I have a Query and in two of my fields I have criteria. In the ID field I
have [Forms]![frm_Machine]![cbo_MachineNum]. In the Date field I have on the
next line of criteria (OR) Between [Forms]![frm_DateRange]![txtStartdate] And
[Forms]![frm_DateRange]![txtEndDate]. My thought was since they are on
different lines in the criteria that I would on either have to get the
Machine Number from the one form when I open my query or enter just the date
range. But it always prompts me for both. Is there another way I can get it
to work where I can choose either by Machine Number or Date Range?
Thanks
have [Forms]![frm_Machine]![cbo_MachineNum]. In the Date field I have on the
next line of criteria (OR) Between [Forms]![frm_DateRange]![txtStartdate] And
[Forms]![frm_DateRange]![txtEndDate]. My thought was since they are on
different lines in the criteria that I would on either have to get the
Machine Number from the one form when I open my query or enter just the date
range. But it always prompts me for both. Is there another way I can get it
to work where I can choose either by Machine Number or Date Range?
Thanks