Hi there.
I was using MS access database and now i migrated to sql server keeping front end as it is with adp file, but most of the filter is not working. I have a form which display all the active or completed job. in the fomr i put the button when user click it will display a report related to that specific job with filter as jobnumber. in the button i have program like this
Private Sub Command46_Click()
Dim strFilter As String
Dim frm As Form
On Error GoTo Err_Command46_Click
Set frm = Forms!MenuInvoicedJobstest
strFilter = "[JobNumber]=" & frm!JobNumber
DoCmd.OpenReport "ServiceOrder", acViewPreview, , strFilter
Exit_Command46_Click:
Exit Sub
Err_Command46_Click:
MsgBox Err.Description
Resume Exit_Command46_Click
End Sub
and put filter on to yes in report but its not working .
any help please.
Indra.