Results 1 to 2 of 2
  1. #1
    CoachBarker is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    17

    Table design and relationships


    I am in the process of creating a scheduling application in vb.net, I am using MS Access as the backend.

    Simple scenario:
    1. the boss puts a blank schedule on the desk
    2. staff select the days they want to work
    3. she then uses my app to assign staff to the days
    4. previews and verifies schedule
    5. prints out in an excel format
    Application layout: a Month Calendar is used to select the start date of a 28 date range. Saves the Start Date and the End Date to textboxes. The 28 day date range (just the day, Oct 1, 2010), 1 is saved as the text property of a checkbox control. She then selects the checkboxes of the days the staff wants to work.


    Data that needs to be saved:
    1. Start Date
    2. End Date
    3. Date Range
    4. Employee ID
    5. Days Selected
    Current Tables and Relationships
    Attachment 1958

    Is this the correct approach to what I am trying to do?

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    hello coach,

    IMO, you should not have a storage device for 'selected days' at all. This is calculated information that needs to be created dynamically whenever it is needed. I'm not sure what your 'dates' table is for either, because the start date and end date storage should be all you need. And again, those two dates can serve as the criteria for getting the 'days' on the fly with dynamic queries or form calcuations.

    In general, for any application, there really should never be more than 10-20 fields in a table especially for small companies and recreational use. Large companies though, can justify having more because more information is present in the everyday operations. Databases that usually sport this kind of format are not making use of the relational structure of the database, but rather using the program as if it were Excel.

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

Similar Threads

  1. Plz help Table Relationships
    By heominhon127 in forum Database Design
    Replies: 6
    Last Post: 09-06-2010, 01:36 PM
  2. Table Relationships
    By goestejs in forum Database Design
    Replies: 3
    Last Post: 08-23-2010, 07:39 AM
  3. Table Relationships
    By seanp in forum Access
    Replies: 2
    Last Post: 04-15-2010, 07:12 AM
  4. Table Design & Relationships
    By mastromb in forum Database Design
    Replies: 16
    Last Post: 12-30-2009, 10:35 PM
  5. Table Relationships
    By jp2access in forum Database Design
    Replies: 3
    Last Post: 06-19-2009, 10:20 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