Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

MS Access 2010 SQL Query question

Hi -

I have the below query but I want it to return just the analyst name that starts with whatever characters are put in as the parameter (for example 'joh' but I can't seem to get it to come to fruition

The below sysntax returns everything that contains whatever the parameter was.....


Thanks for any help



SELECT *
FROM QTab
WHERE analyst Like '*' & [Enter Analyst here];
0
rinkydink
Asked:
rinkydink
1 Solution
 
Rey Obrero (Capricorn1)Commented:
you have the "*" at the wrong side of the parameter



SELECT *
FROM QTab
WHERE analyst Like [Enter Analyst here] & "*"
0
 
rinkydinkAuthor Commented:
Boy I feel like a dummy now LOL

That was brain dead to the extreme on my part

Thanks

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now