G
Guest
I want to make a report return records between two fields "Start Date" and
"End Date".
this is the code that I have so far:
Private Sub Report_Open(Cancel As Date)
Dim StartDate As String
Dim EndDate As String
InputBox "Start Date", , "01/01/05"
InputBox "End Date", , "01/01/05"
End Sub
and then I get stuck. It is someone else's database and I have just run a
query and a report from a query. But I don't know how to insert the fields
into the query with a message box asking for an input box.
End Sub
"End Date".
this is the code that I have so far:
Private Sub Report_Open(Cancel As Date)
Dim StartDate As String
Dim EndDate As String
InputBox "Start Date", , "01/01/05"
InputBox "End Date", , "01/01/05"
End Sub
and then I get stuck. It is someone else's database and I have just run a
query and a report from a query. But I don't know how to insert the fields
into the query with a message box asking for an input box.
End Sub