Guest_imported
New member
- Jan 1, 1970
- 0
l2n77 (Visitor) Feb 27, 2002
I have a question with the reports within a db. i have a pop up menu in which a user can select a specific date to pull a report from. the combo box is reportdatebox and the field name is Report_Date. This is the current code i have. But it doesn't work. help!
stWhere = "[Report_Date]="
stRptName = "Daily Report"
If reportdatebox <> "" Then
DoCmd.OpenReport stRptName, acViewPreview, stWhere & reportdatebox
End If
I have a question with the reports within a db. i have a pop up menu in which a user can select a specific date to pull a report from. the combo box is reportdatebox and the field name is Report_Date. This is the current code i have. But it doesn't work. help!
stWhere = "[Report_Date]="
stRptName = "Daily Report"
If reportdatebox <> "" Then
DoCmd.OpenReport stRptName, acViewPreview, stWhere & reportdatebox
End If