Open form where

speakers_86

Registered User.
Local time
Today, 18:01
Joined
May 17, 2007
Messages
1,919
Another simple question. I'm having trouble using the where clause with text.

Code:
docmd.openform "frmserlist",,,"[seriesyear]=" & me.seriesyear

Series year is text. This is in the on click event of a subform I have. I know this isnt right, since it's text, but I've tried multiple variations, and haven't gotten it.
 
Hi..

Code:
docmd.openform "frmserlist", , , "[seriesyear]=[COLOR="Red"]'[/COLOR]" & me.seriesyear & [COLOR="red"]"'[/COLOR] "
 
Thank you much. I saw that somewhere else, but all the quotes where so close together, I screwed up copying it.
 

Users who are viewing this thread

Back
Top Bottom