Share via

Run Time Error 3077 Findfirst

Anonymous
2013-07-19T22:44:13+00:00

"Run-time error 3077.  Syntax error in expression."

I received this message while trying to perform a findfirst in VBA. 

However, I don't receive this error when the field name is a single word.  When I changed the field name from "Email Address" to "Email_Address" the error went away.  Has any one else had this problem?

Thanks.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2013-07-19T23:33:53+00:00

    Ummm...

    You can see your code. Nobody here can!

    If you (unwisely, IMO) use blanks in fieldnames you must enclose the fieldname in square brackets: [Email Address] for example. But please post your code so we can see if that's the issue or it's something else.

    Was this answer helpful?

    0 comments No comments