Results 1 to 5 of 5
  1. #1
    ColinVicary is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2016
    Posts
    2

    I'm self taught and my teacher is an idiot! VERY basic query question

    Hi everyone.



    This is my first post so please go easy on me! I'm intermediate/expert at Excel, but a novice in Access, creating my first DB today.

    I have two tables, one is a stock catalogue with SKU as a primary key. The other is orders received last week, which also contains SKU. The two SKU fields are linked in relationships.

    If I run a simple query on the orders, to show all the SKUs with an order qty, grouped and summed, the query works fine. Within the order table, the item name can differ for the same SKU (we sell on Amazon in the UK and USA and the terminology and spelling can be different). So I bring in the item name from the catalogue table. My query shows:-

    SKU from the order table of 600 lines
    Item Name from the to catalogue table of 1,600 lines
    Quantity Ordered from the order table

    now my query result seems to show the first SKU, with EACH Item Name, then the second SKU, with EACH item name.

    I guess what I'm looking for is a link to a site that will show me how to do the basics. The sites I've found and followed online haven'ts helped so far!

    Anything you can do to help would be appreciated!

    Colin

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I recommend you watch these free videos (#1,2 and 4) by Dr Daniel Soper.
    He has a 8 part series starting here.

    Another suggestion is to work through this tutorial from RogersAccessLibrary. It will teach you database design concepts and a procedure to define tables and relationships. Takes about 1/2 hour -45 minutes to work through but you will learn. There is a problem definition and solution providing a database design that matches the requirements. You can use what you learn with any database.

  3. #3
    ColinVicary is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2016
    Posts
    2
    Thanks orange, I'll check those out right now

    Colin

  4. #4
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    In your query design view, did you link the tables on the SKU field? The results you are getting suggest you didn't. Even though you created the relationships, you have to join the tables in queries as well.

  5. #5
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480
    If your teacher is teaching you Access VBA. I promise you he visits this website.

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

Similar Threads

  1. Creating Billing System, self taught, and confused!
    By LethalMeatball in forum Access
    Replies: 7
    Last Post: 11-13-2013, 03:16 PM
  2. Basic Query Sort Question
    By Siiig in forum Queries
    Replies: 4
    Last Post: 01-14-2013, 10:02 AM
  3. Idiot proof question.....
    By noaccessguru in forum Access
    Replies: 5
    Last Post: 05-05-2011, 06:04 AM
  4. Basic Question
    By za20001 in forum Queries
    Replies: 2
    Last Post: 04-11-2011, 03:59 PM
  5. Basic query design question
    By megabrown in forum Queries
    Replies: 1
    Last Post: 12-15-2010, 09:10 AM

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