Results 1 to 4 of 4
  1. #1
    macattack03 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2011
    Posts
    15

    Query with criteria without field from table

    Is it possible to create a query with criteria for a field thats not included

    If i want to use 4 fields to make a query customer # last name first name and amount paid but when i set the criteria i only want to find specific customers from VA but the state isn' t included from table i created how is this done

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Well if the state field is not in your table, or a related table, then it can't be done. However, if we knew more about your data base or business, then we may be able to suggest a data structure that would accommodate the busines rule.

  3. #3
    macattack03 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2011
    Posts
    15
    I have sportings good business and i tke special orders i have information in regards to my customers inputted into table. Im trying to find the customers information from a query i have made but i didnt include the state can i use a criteria for the state even though i didn't choose that field from the table.

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Can you show us a jpg of your relationships window? You'll have to zip the file since you have fewer than 10 posts.

    If you have a Customer Table you'll need fields like

    CustomerID PK
    CustomerFirstName
    CustomerLastName
    CustomerEmail
    CustomerPhone
    CustomerAddress1
    CustomerAddress2
    CustomerCity
    CustomerZip

    include things about Customer that you need for your business.

    See the videos I mention in https://www.accessforums.net/databas...d-35234.html#3

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 03-18-2012, 11:17 AM
  2. Replies: 3
    Last Post: 03-14-2012, 10:31 AM
  3. Different criteria for same field in same query
    By teirrah1995 in forum Queries
    Replies: 10
    Last Post: 08-12-2011, 01:03 PM
  4. Query multiple field & criteria
    By fua in forum Access
    Replies: 2
    Last Post: 11-04-2009, 08:22 PM
  5. query - criteria based on another row field value
    By techexpressinc in forum Queries
    Replies: 1
    Last Post: 05-29-2009, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums