Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MS Access 2010 SQL Query question

Posted on 2011-03-08
2
Medium Priority
?
310 Views
Last Modified: 2012-06-21
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
Comment
Question by:rinkydink
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 35076709
you have the "*" at the wrong side of the parameter



SELECT *
FROM QTab
WHERE analyst Like [Enter Analyst here] & "*"
0
 
LVL 1

Author Comment

by:rinkydink
ID: 35076770
Boy I feel like a dummy now LOL

That was brain dead to the extreme on my part

Thanks

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question