Opening and filtering a Report
To start id like to say i dont know very much about VBA..
I have this code...
Private Sub Command55_Click()
DoCmd.OpenReport "VisitSheetTableReport", acViewPreview, , "Engineer 1'*" & Combo50 & "*'"
End Sub
Its giving me a Run-time error '2447': and saying there is an invalid use of the . (dot) or ! operator or invalid parentheses.
What i am trying to achieve is for the report to open and filter the results so that what the selection in Combo50 is will filter the field "Engineer 1".
Thanks in advanced for any help and please let me know if im unclear
To start id like to say i dont know very much about VBA..
I have this code...
Private Sub Command55_Click()
DoCmd.OpenReport "VisitSheetTableReport", acViewPreview, , "Engineer 1'*" & Combo50 & "*'"
End Sub
Its giving me a Run-time error '2447': and saying there is an invalid use of the . (dot) or ! operator or invalid parentheses.
What i am trying to achieve is for the report to open and filter the results so that what the selection in Combo50 is will filter the field "Engineer 1".
Thanks in advanced for any help and please let me know if im unclear
Last edited: