Martin_King
Board Regular
- Joined
- Jan 20, 2009
- Messages
- 153
Hi all,
I don't know if I'm in the right area for this but I use your site all the time and you manage to answer 99% of my questions. However I've become a bit stuck with setting a parameter in MS Query through excel, and any help would be great.
Basically we query SAGE, and have account codes begining xx-xxx. We use the project ledger which attaches a letter on the end depending on the works, i.e. 00-001A, 00-001B, etc
I need to set a paramater to say any that any that begin/contain (i.e. LIKE %) 00-001 filter out, regardless of the letter.
I know the basics of [paramater] or ?, but the ? doubles as a wildcard in the like criteria. Whenever I try to put a paramter value in it shows nothing. I can get it to work for exact, >< etc but not contains or begins. Even if I play with the SQL, nothing!
Any ideas guys? I'm really at a loose end here??
Thanks for all the help
M
I don't know if I'm in the right area for this but I use your site all the time and you manage to answer 99% of my questions. However I've become a bit stuck with setting a parameter in MS Query through excel, and any help would be great.
Basically we query SAGE, and have account codes begining xx-xxx. We use the project ledger which attaches a letter on the end depending on the works, i.e. 00-001A, 00-001B, etc
I need to set a paramater to say any that any that begin/contain (i.e. LIKE %) 00-001 filter out, regardless of the letter.
I know the basics of [paramater] or ?, but the ? doubles as a wildcard in the like criteria. Whenever I try to put a paramter value in it shows nothing. I can get it to work for exact, >< etc but not contains or begins. Even if I play with the SQL, nothing!
Any ideas guys? I'm really at a loose end here??
Thanks for all the help
M