query
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Query

Query

resolvedResolved · Low Priority · Version 2003

replyReply Fri 18 Jul 2008, 16:40Delegate Sammie said...

Sammie has attended:
Access Intermediate course
Access Advanced course

Query

How do I set up a criteria say anything containing IT but not any IT within a word say benefIT?
Thanks.

For upcoming training course dates see: Pricing & availability

replyReply Fri 18 Jul 2008, 20:40Delegate Mark said...

RE: Query

Hi Sammie,

I have just tried something which seems to work, though it brings up text with the word 'it' in not just the capital version as in Information Technology. If you wanted the latter only, there is probably a way of doing that too.

I used the following: Like "* IT *"

So I used a space either side and also wildcards on the outside of these so that IT can be anywhere in the text field to work.

If you wanted 'IT' and not 'it' let us know and I'm sure someone will have or will find the answer

Regards, Mark

replyReply Thu 24 Jul 2008, 15:32Trainer Rajeev said...

RE: Query - Using wildcards

Dear Sammie
Dear Ben

Thank you for attending Access courses. I hope you enjoyed the courses and are finding the topics covered during the training useful.

What Mark has suggested wil provide you the result but if you have IT as the First Word or the last word then it can be a bit of a problem.

I am not sure it this is the definite answer but you can try this and I am confident that it will work

In the Job Title field in the Design View of the Query type the following:

* IT (Please note that there is a space between * and IT)
IT *
* IT * (Please note that there is space before and after IT)

This should be entered in the same line on the Job Title field.

Please try it and tell me if that helps you or not.

I hope this has helped in answering your query. If this has answered your question then may I please request you to mark this post as resolved!!

Many thanks

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000/2003
MCAS Master Instructor 2007

 

Please browse our web site to find out more about
access vba and other Microsoft training courses.

Access tip:

How To Display An '&' In A Label In A Form

To have your label display a sentence with an &(ampersand) in it, like Fox & Hound simply type it as:

Fox && Hound

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard