Results 1 to 3 of 3
  1. #1
    petersonm is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2018
    Posts
    1

    Query Combo Boxes (100+) to Produce Listing of Unchecked Box Names

    There are 102 counties in Illinois. I have a county table [tblCounty] that lists those counties under the column "County", which also has a column "Number" that numbers them 001 to 102. There is a separate table [tblTitleToTitleCode] that lists sales categories by sales category code (two columns).

    Another table has customer number, sales category, and region. In this table, the customer code is a combo box from the [tblTitleToTitleCode]. The region is a combo box from the [tblCounty]. I need to produce a query that list those counties by name that do not have a sales category. Those are the counties that are not receiving sales marketing for specific sales categories, which means we have the ability to increase sales through surgical marketing.



    I'm open to any and all thoughts, but consider me unskilled at Access.
    County Number
    Adams 001
    Alexander 002
    Bond 003
    Boone 004

    Title Code Title
    04100 Baker
    04250 Barber
    04350 Beautician

    Customer SalesCategory Region
    790-1 06650 Adams, Alexander
    195 06650 Calhoun, Carroll, Cass



    Thanks for your assistance - Pete.

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    You need an unmatched query (a wizard is available) joining tblCounty to tblTitleToTitleCode linking with a common field and using an outer join
    The problem I have is that from your description there doesn't seem to be a common field in both tables
    Without that you're stuck ...unless your third table provides a linking field
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Using your current table designs, it will be difficult, if not impossible, to get your answer.
    You should NEVER use look up FIELDS, nor MVFs in tables. And Microsoft never fully implemented MVFs in Access.
    No other dB uses Look up Fields/MVFs.





    Quote Originally Posted by petersonm View Post
    I have a county table [tblCounty] that lists those counties under the column "County", which also has a column "Number"
    OK, got it.

    Quote Originally Posted by petersonm View Post
    There is a separate table [tblTitleToTitleCode] that lists sales categories by sales category code (two columns)
    OK, Got it.

    Quote Originally Posted by petersonm View Post
    Another table has customer number, sales category, and region.
    In this table, the customer code is a combo box from the [tblTitleToTitleCode].
    Whaaaattt???? The customer code is a combo box from the [tblTitleToTitleCode]??? But [tblTitleToTitleCode] is Sales Category....


    I gotta stop. My head hurts.......

    Maybe post your dB or images of your relationship window?

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

Similar Threads

  1. Replies: 1
    Last Post: 01-05-2018, 10:02 PM
  2. Replies: 3
    Last Post: 09-20-2017, 06:54 PM
  3. Replies: 2
    Last Post: 02-01-2016, 03:30 PM
  4. Replies: 2
    Last Post: 11-05-2014, 12:45 PM
  5. Replies: 3
    Last Post: 03-23-2012, 06:16 AM

Tags for this Thread

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