Thank you June7. The method you suggested works very well for everything except for the date range. My code was as follows:
Code:
If Not IsNull(Me.txtStartDate) Then
strWhere = strWhere & "([DateOrdered] >= " & Format(Me.txtStartDate, conJetDate) & ") AND "
End If
If Not IsNull(Me.txtEndDate) Then
strWhere = strWhere & "([DateOrdered] >= " & Format(Me.txtEndDate , conJetDate) & ") AND "
End If
The code works, the report opens but there is no data when I should be getting all the records... The same report opens with the data when I ask for Customer, or Product instead of date range. Am I missing something? Thank you for your help.