Results 1 to 2 of 2
  1. #1
    Mark L is offline Novice
    Windows 7 Access 2007
    Join Date
    Dec 2010
    Posts
    1

    Query to Develope Price Book

    I am using Access2007 to construct a price book for my business. Vegetable Seed



    I have a Table (Table1: Vegetable Seed) which includes the "Cost" of different "Varities" (810 different varieties) of vegetable seed. The variety (ex. Bronco, Cougar, etc.) is assigned to a "Vegetable Group", example Beans, Cucumbers, etc). Each Variety is also assigned to a "Pricing Group" (there are 48 of these) example Beans1 or Beans2 or Squash1. So for example: Bronco(the variety) is assigned to the Beans1 (pricing group) and is in the Category Beans.

    I have a second table (Table2: Pricing Groups) with "Pricing Groups" for example Bean1, Beans2, Squash1. Each pricing group has 5 columns that define different quanities for seed which is priced differently based on volume purchased. example: 1lb, 5lb, 10lb, 50lb, 100lb. (more volume you buy the cheaper the price). I am trying to caluclate pricing for each variety under a volumn column. I need to calculate a price for all varieties that fall within a specific "Pricing Group" but will call under a given pricing column.

    I have a Query which pulls these table together using "Pricing Group" as the common.

    I need to calculate a price (example: Price1:[Cost]/0.90 or Price2:[Cost]/.85, etc) for each volume purchased column but specific for each unique variety (Bronco vs Cougar). The profit caputured by the sale of Bronco within a volume column may be more or less than the sale of Cougar within a volumne column.

    While I can use a calculated field in the query to get a price for the entire column; I do not know how to segment the calculation for each variety; I only can make a common calculation for the column.

    I need to be able to price each vareity under a column.

    Any help?

    The report would look like this:
    1lb 5lb 10lb 50lb 100lb
    Bronco Price Price Price Price Price
    Cougar Price Price Price Price Price

    the pricing under Bronco would be unique to that vareity while the pricing for Cougar would be unique to it under the volume columns

  2. #2
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 7 Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    When you are setting up the query, import all of the tables that have potential data in them that you are needing to use, and then just set up the query like this:

    in the design view of the query, click the Sigma button to add the word "Total." In the field "Total" add the word "Sum" and run the query and it will total all of the data that has been input into the fields you are wanting to sum.

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

Similar Threads

  1. Purchase price of asset
    By Ron.Sul in forum Access
    Replies: 4
    Last Post: 09-17-2010, 11:28 PM
  2. Look up price
    By matt4003 in forum Queries
    Replies: 7
    Last Post: 12-28-2009, 02:19 PM
  3. Need someone to develope a small database program for me
    By Cleaner in forum Database Design
    Replies: 4
    Last Post: 10-05-2009, 07:21 AM
  4. Multiple Price Columns
    By kmwhitt in forum Access
    Replies: 0
    Last Post: 04-04-2009, 09:48 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