Hi all
I am trying to use the following code in the onclick of a command button located on the master form to filter a subform to show records between the dates
Me!frmVisitReport.Form.Filter = "AppointmentDate BETWEEN #'" & Text48 & "'# AND #'" & Text50 & "'#"
Me!frmVisitReport.Form.FilterOn = True
at present i am getting syntax error but cant work out why?!?
Can anyone offer any guidance?
Ali
I am trying to use the following code in the onclick of a command button located on the master form to filter a subform to show records between the dates
Me!frmVisitReport.Form.Filter = "AppointmentDate BETWEEN #'" & Text48 & "'# AND #'" & Text50 & "'#"
Me!frmVisitReport.Form.FilterOn = True
at present i am getting syntax error but cant work out why?!?
Can anyone offer any guidance?
Ali