Syntax error (missing operator) in query expression message

G

Guest

Hi,

Using the command button wizard I created a button to open another form to
only display records related to the record open on the main form. For some
reason though, I only get the following error message appear when I have one
specific record on display on the main form. For all other records on the
main form, the other form opens okay displaying the filtered records:

Syntax error (missing operator) in query expression
‘[GrantPotMemberBelongsTo] = ‘Young People’s Programme’

Help will be most appreciated as I still haven’t found out the reason why.

Thank you

Ammo
 
G

Guest

You can't have a string bounded by single quotes with a single quote within it.
Put double quotes on the outside.
"Young People’s Programme"

Dorian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top