Results 1 to 3 of 3
  1. #1
    dwilson is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    Indianapolis
    Posts
    22

    table design for home delivered meal ordes

    I am having trouble coming up with a design to convert an application from Excel to Access. Basically we have to keep track of meal orders from about 30 sites. In Excel there were spreadsheets for every month, with tabs for each week, and each spreadsheet shows Monday - Friday for that week. They need totals for every week. I was initially trying to set up the tables as
    Octwk1p1, Octwk1p2, Octwk1p3, etc putting as many fields as I could in each table, and this was just for the month of October for week 1.
    So my table design looked like:
    Ahepa M
    Ahepa R M


    Ahepa NPP M
    Ahepa 5P M
    Ahepa 3P M
    Ahepa 2
    Ahepa PP M
    Then the same rows for Tue, We,Th, F
    Then I would move on to the next meal route, Barton
    I know this is bad design because you are not supposed to have a lot of fields in an Access table. And I was going to have six or so tables just to handle one week of one month, and they each had close to their limit on the 255 fields. Then of course I hit the limit in the forms as well, trying to have calculated fields for the week.
    I have attached an example of what a small section on the Excel spreadsheet looked like for two meal routes for one week in October.
    I am now trying to figure out another design, but this issue is the data needs to be presented to the user in this type of format for input. Each week they need to call in their weekly totals.
    The Excel spreadsheet worked but it was bunglesome, and so they asked me if I could come up with a way to do this in Access. My work in Access has always been more demographic data related, not numbers so I am kind of at a loss. Any help would be appreciate.
    Attached Thumbnails Attached Thumbnails Orders.JPG  

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Build normalized design. There are methods to manipulate the data for the output you show. A CROSSTAB query might be good enough or might require VBA code.

    Maybe tutorials here will help you get a start http://www.rogersaccesslibrary.com/
    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.

  3. #3
    dwilson is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Location
    Indianapolis
    Posts
    22
    Thanks, yes I need to rethink how to desgn this in Access.

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

Similar Threads

  1. Table Design -- want to avoid a design that creates blank fields
    By snowboarder234 in forum Database Design
    Replies: 4
    Last Post: 10-08-2012, 10:13 AM
  2. Replies: 8
    Last Post: 03-24-2012, 11:03 AM
  3. Anyone home at EverythingAccess?
    By Piri in forum Access
    Replies: 3
    Last Post: 11-18-2011, 01:20 PM
  4. Hide "Home" tab on ribbon bar
    By bbrazeau in forum Access
    Replies: 1
    Last Post: 09-09-2011, 12:05 PM
  5. Working on a split database at home
    By ksmith in forum Programming
    Replies: 7
    Last Post: 05-23-2011, 06:02 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