J
Jan Il
Hi all - Access 2002, WinME
I have created a report from a query that has From-To date period criteria
for text boxes on a filter form that opens the related form. However, every
time I want to open the report for preview, I get a dialog box that pops up
and asks for parameters for these two text boxes. Once I click ok for both
boxes, the report opens for preview. The part of the query SQL for the date
boxes is;
HAVING (((tblLaborCosts.JobDate) Between [Forms]![frmLaborFilter]![Text62]
And [Forms]![frmLaborFilter]![Text64])) OR
((([Forms]![frmLaborFilter]![Text62]) Is Null)) OR
((([Forms]![frmLaborFilter]![Text64]) Is Null));
Is there some way I can ignore the dialog message requesting the parameters
for the date boxes when the report is previewed? I've tried using the On
Open event in the report properties, but, so far nothing has worked. I
haven't used this kind of query for a report before, and I have not been
able to pinpoint a Help file on this.
Best regards,
Jan
I have created a report from a query that has From-To date period criteria
for text boxes on a filter form that opens the related form. However, every
time I want to open the report for preview, I get a dialog box that pops up
and asks for parameters for these two text boxes. Once I click ok for both
boxes, the report opens for preview. The part of the query SQL for the date
boxes is;
HAVING (((tblLaborCosts.JobDate) Between [Forms]![frmLaborFilter]![Text62]
And [Forms]![frmLaborFilter]![Text64])) OR
((([Forms]![frmLaborFilter]![Text62]) Is Null)) OR
((([Forms]![frmLaborFilter]![Text64]) Is Null));
Is there some way I can ignore the dialog message requesting the parameters
for the date boxes when the report is previewed? I've tried using the On
Open event in the report properties, but, so far nothing has worked. I
haven't used this kind of query for a report before, and I have not been
able to pinpoint a Help file on this.
Best regards,
Jan