1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access Query

Discussion in 'Business Applications' started by Lotek, Jan 28, 2003.

Thread Status:
Not open for further replies.
  1. Lotek

    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
     
  2. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    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.
     
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 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/115723

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice