Hi all,
I know I must have the syntax wrong. Also, I am trying to filter a form with a query as the record source. The second filter criteria I have, "Asset Type", is not on field on the form, only in the Query. I am not sure if I have to have the actual field on the form in order to filtery by that field. Thank you for any help.
I know I must have the syntax wrong. Also, I am trying to filter a form with a query as the record source. The second filter criteria I have, "Asset Type", is not on field on the form, only in the Query. I am not sure if I have to have the actual field on the form in order to filtery by that field. Thank you for any help.
Code:
Me.Filter = "[Asset Owner]=John Smith" And "[Asset Type] = High Risk"
Me.FilterOn = True
Me.OrderByOn = True