Results 1 to 4 of 4
  1. #1
    Dclassen89 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    17

    Constructing a customer inventory table calculated field

    I am trying to construct a table listing all of my customers as records and all of the items I sell as fields, I want to be able to calculate the percentage of items currently carried by the customer. So each item field will have to have a yes/no type configuration with a field that calculates the percentage of items carried. I just cant work out the best way to go about this. I already have most of the table setup I just don't know how to pull the percentage. Any ideas?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Any calculations, such as percentages, should be done in a Query or in a Report.
    How exactly those calculations are written depends on the structure of your data.
    So perhaps you could post a small data sample and an example of your expected results.

  3. #3
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Indeed, what JoeM said.

    Whenever possible, you want to keep your tables strictly to just the data. Calculations on that data are what you use queries and VBA for. It will keep your database running faster, stay smaller, and you won't go crazy trying to update and insert tables every time something changes.

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    It will keep your database running faster, stay smaller, and you won't go crazy trying to update and insert tables every time something changes.
    Yes! I will keep your tables & database normalized and dynamic, while maintaining data integrity!
    All critical factors to a well-designed database!

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

Similar Threads

  1. Replies: 6
    Last Post: 12-11-2013, 09:27 PM
  2. Replies: 1
    Last Post: 04-21-2013, 03:20 PM
  3. Replies: 3
    Last Post: 02-13-2013, 10:15 AM
  4. Replies: 2
    Last Post: 10-24-2012, 02:53 PM
  5. Replies: 6
    Last Post: 09-26-2011, 11:16 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