Run time error '3075' in Access 2007

Posted by Thys on Stack Overflow See other posts from Stack Overflow or by Thys
Published on 2009-03-13T12:06:56Z Indexed on 2010/03/30 0:03 UTC
Read the original article Hit count: 333

Filed under:
|

I am getting the following error when I try to open a report in Access 2007. The code works fine in Access 2003.

run time error '3075'

Syntax error (missing operator) in query expression '[COUNTRY_ID]='

here is the code giving the error...

How could I fix this?


Private Sub List25_Click()

Combo20.SetFocus
'DoCmd.FindRecord List25.ItemData(List25.ListIndex)
Forms![Country Rate Administration].Filter = "[COUNTRY_ID]=" & List25.ItemData(List25.ListIndex)
Forms![Country Rate Administration].FilterOn = True

End Sub


Thansk in advance for your help!

© Stack Overflow or respective owner

Related posts about runtime-error

Related posts about ms-access