M
mike_0_007
Hi, I'm having a problem trying to build query selection criteria from
a form... what I'm trying to do is
pass a value from vba to a textbox for use by a query. The value is a
LIST as follows -
in('a','b','c')
the query works ok if i type the above in directly into the field. But
if i try and use the variable
i always return zero records. I've tried =, like, and various
combinations between the textbox
value and the surrounding string in the query, with no luck. Can
anyone help me out?
a form... what I'm trying to do is
pass a value from vba to a textbox for use by a query. The value is a
LIST as follows -
in('a','b','c')
the query works ok if i type the above in directly into the field. But
if i try and use the variable
i always return zero records. I've tried =, like, and various
combinations between the textbox
value and the surrounding string in the query, with no luck. Can
anyone help me out?