Cross tab Parameter that uses like operator

T

tuss

Hi,

I am having trouble specifying a parameter that incorporates the like
operator for a cross tab query. SQL as follows -

PARAMETERS Like [Forms]![frm_Reports_Menu]![[Select Product] & "* Text ( 255 )
;

Access returns a syntax error message.

Thanks in advance
 
D

Duane Hookom

Should only be:
PARAMETERS [Forms]![frm_Reports_Menu]![Select Product] Text ( 255 );

Don't include the "Like" and other stuff and watch for extra [ ]s.
 

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