Access Query

Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

Lotek

Thread Starter
Joined
Apr 6, 2001
Messages
32
I have a Access Query that I'm running that askes for a Dept. Number and if left blank displays all Dept. now the problem with that is I had to use a "Like" command and when I hit 1 all Depts with the Number 1 come up. Is there any way to make it so this doesn't happen?

Thanks a Million
Lotek
 

Anne Troy

Anne
Joined
Feb 14, 1999
Messages
11,755
Probably better off making it 2 separate queries.

One with LIKE and one without.

Or make a "Query by Form", which allows you to run a query through a form.

Search the web for query by form; MS comes up almost right away and tells you how to do it.
 
Status
This thread has been Locked and is not open to further replies. The original thread starter may use the Report button to request it be reopened but anyone else with a similar issue should start a New Thread. Watch our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top