Results 1 to 5 of 5
  1. #1
    dayeez is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    May 2014
    Posts
    2

    Help with Price Table

    I have a price table with about 70,000 line items (some lines are duplicates).


    There are about 12 columns each with different qualities such as item name, size, thickness, price and etc.
    I've been building this table in excel and just importing it into Access for the time being.

    When a customer sends me an order, I'd like to be able to look up the items in my price table (matching across multiple columns) and automatically return the price for each item.

    Where do I start? What do I need? I literally have no idea where to even begin and have not had much luck trying to google my problem.

    Any help or even just pointing me in the right direction is much appreciated!

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    You would need a table for your Prices. The use a lookup to get the price for each item. Below is an example;
    Me.ItemPrice = DLookup("ItemPrice", "QryItemPrices")
    tblCustomers
    tblPrices
    tblOrders
    tblOrderDetails

    Here is a link to a great site for Database Modeling. http://www.databaseanswers.org/data_models/

    HTH

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Possible options:

    1. multi-column combobox where user can view all 12 fields and select item - 12 columns is a lot

    2. 12 cascading comboboxes to help with isolating the specific record ID of pricing table, then a parameterized query with dynamic parameter on the record ID field of the price table, review
    http://www.datapigtechnologies.com/f...combobox2.html
    http://www.datapigtechnologies.com/f...tomfilter.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,849
    Record your selling/agreedToPrice in your OrderDetails table. Do not refer only to the Price in the Product table to calculate the Price of Orders. Doing so will cause all previous Orders to change Price when you change the Price in the Product table.

    See these videos for help with your database structure and design as needed.
    If you are quite good at learning by Watching/Listening
    rather than reading, then this list might be useful to you.

    http://www.youtube.com/watch?v=IiVq8M5DBkk Logical data modeling

    http://www.youtube.com/watch?v=BGMwuOtRfqU Candidate key

    http://www.youtube.com/watch?v=ZiB-BKCzS_I Normalization

    http://www.youtube.com/watch?v=pJ47btpjAhA Normalization example

    http://www.youtube.com/watch?v=q3Wg2fZENK0 1st Normal form

    http://www.youtube.com/watch?v=vji0pfliHZI 2nd Normal form

    http://www.youtube.com/watch?v=HH-QR7t-kMo 3rd Normal form

    http://www.youtube.com/watch?v=q1GaaGHHAqM E_R Diagramming

    https://www.youtube.com/watch?v=lXAG...6FE5448948D9B4 E-R Diagramming Price and Quantity

    Complete set of tutorials on Acc2010.
    https://www.youtube.com/playlist?lis...FoilxbUY0yUqZP

  5. #5
    dayeez is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    May 2014
    Posts
    2
    Thanks everyone! I had no idea what you guys were saying at first but I've been going through the tutorials and links all day. Will be back with more questions later.

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

Similar Threads

  1. Replies: 9
    Last Post: 03-13-2014, 07:42 AM
  2. Item without price, or duplicate price
    By Auto in forum Reports
    Replies: 5
    Last Post: 07-29-2013, 09:46 PM
  3. Set Up Price Tables
    By Jo22 in forum Database Design
    Replies: 5
    Last Post: 02-12-2012, 12:34 PM
  4. find price in a table
    By bill1138 in forum Queries
    Replies: 2
    Last Post: 12-28-2011, 12:44 PM
  5. Look up price
    By matt4003 in forum Queries
    Replies: 7
    Last Post: 12-28-2009, 02:19 PM

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