I have a report that runs through a module and pulls data entries from temp tables. Here is the example:
Private Sub Preview_Customers_by_Month__Ship_Date__Click()
DoCmd.OpenReport "customers by month (ship date)", acPreview, , "[schd_date_start] <= [range].[to]"
End Sub
I want to change the <= [range].[to] portion to readoff
of date field on a form equal to Form/Main/InpBegDate.
Can I change the code to reference the date box instead of the temp table within this code or on the report itself ?
Thanks for your time ...
Private Sub Preview_Customers_by_Month__Ship_Date__Click()
DoCmd.OpenReport "customers by month (ship date)", acPreview, , "[schd_date_start] <= [range].[to]"
End Sub
I want to change the <= [range].[to] portion to readoff
of date field on a form equal to Form/Main/InpBegDate.
Can I change the code to reference the date box instead of the temp table within this code or on the report itself ?
Thanks for your time ...