• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • 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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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