Hello,
I am still new at access and I am using a combo box to filter a 2nd form upon clicking a button. I posted on this topic the other month and was given some code that works. I am attempting to tweak it for another part of my database.
I am receiving a Run-time error "3464':
Data type mismatch in criteria expression.
The code I am using is listed below.
Please could you help me figure out what I am doing wrong. Thanks.
DoCmd.OpenForm "Utilities Contacts", , , "[Utility] = """ & Me.Utility.Column(1) & """"
DoCmd.Close acForm, "Utility Menu"
I am still new at access and I am using a combo box to filter a 2nd form upon clicking a button. I posted on this topic the other month and was given some code that works. I am attempting to tweak it for another part of my database.
I am receiving a Run-time error "3464':
Data type mismatch in criteria expression.
The code I am using is listed below.
Please could you help me figure out what I am doing wrong. Thanks.
DoCmd.OpenForm "Utilities Contacts", , , "[Utility] = """ & Me.Utility.Column(1) & """"
DoCmd.Close acForm, "Utility Menu"