Results 1 to 5 of 5
  1. #1
    dbalilti is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    53

    Acces DB Setup Help.

    Hi everyone.

    So I am ready to attempt my second try on creating a DB in Access and I want to do it right this time

    My Db will essentially hold the electrical and mechanical Contracts For various Jobs

    Here are the fields that will be in the db. (Note each Job has max of 3 phases and SF = square footage)

    1. Job Number - Key
    2. Project - Unique to the Job (Wont change between Phases)


    3. Developer - (can change between phases)
    4. Electrical Contractor
    5. Electrical Contract Date
    6. Electrical Contract Amount
    7. Electrical Cost Per Unit - Dependent of 6. & 15.
    8. Electrical Cost Per SF - Dependent on 6. & 17.
    9. Electrical Comments
    10.Mechanical Contract amount
    11. Mechanical Cost Per Unit - Dependent On 10. & 15.
    12. Mechanical Cost Per SF - Dependent On 10. & 17
    13. Mechanical Comments
    14. Mechanical Contract Date

    15. Number of Suites
    16. Suite (SF)
    17. GFA (SF)

    Note that every Job Number has a Maximum of 3 Phases, each of which will have diffrent values for all the fields except for Developer & obv the Job Number.

    So in other words, JobNUMBER 1111 Can have Phase 1,2 each of which can have diffrent contractors, number of units, etc.

    I need this database to do a few things.

    1. Sort By number of Units (SAY Show Jobs with units between 50-200 units)
    2. Sort By Developers (Show ALL Jobs with a certain developer)
    3. Sort By Contractors for electrical/Mechanical

    I plan to break this up into the following Tables

    1. Project - {With just project and Jobnumber}
    2. Contracts - Phase 1 { This will have everything from 3 -17)
    3. Contracts - Phase 2 {Same as above}
    4. Contracts - Phase 3 {Same as above}

    Obviously every Table will have the Job Number since its the Key

    Does this look like a proper setup? Or am doing something wrong.

    Thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Is it possible for the same business to be both mechanical and electrical contractor? Would you want to be to search on business and return all records - both mechanical and electrical?

    You want a table for each phase? I would have one table with a field for the phase number.
    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
    dbalilti is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    53
    Alright, let me explain it like this:

    Lets say i have project 10000.
    In reality project 10000 has 3 Condos.
    The developer doesnt want to pay one giant lump sum so he breaks it into 3 Phases, where each phase takes care of one buildings ele/mech stuff.

    So because of this each phase is a diffrent building and will obv have a diffrent ele/mech contract and diffrent building specs (# Of Units,SUITE SF, & GFA(SF))

    To answer your question, yes every Job will have ele/mech contracts. Note sometimes it might have only one, but that is very rare.

    and for your question about the phases, you can now see why i cannot treat it as a field because it is not a numerical number, it is a part of a project

    I know it is a bit complicated, but thanks for baring with me, I appreciate the help.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,601
    Nope, don't understand. If you can break the project phases into separate tables can just as easily have one table with a field for the phase designation.

    I expect every job will have both elec/mech contracts. My question was: Can the same business be both mech and elec contractor on the same job/phase?
    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.

  5. #5
    dbalilti is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    53
    Same Business? Do you mean the Contractors?

    The contractors are diffrent for the ele/mech as in one company will do the ele and one does the mech.

    I Dont think there will ever be a case both contracts for mech/ele are done by the same company

    The Job/Phases will have the same contractor for both ele/mech

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

Similar Threads

  1. Primary Key in Acces 2007
    By pka4916 in forum Access
    Replies: 2
    Last Post: 10-11-2011, 10:43 AM
  2. Acces or excel, for handleing my data?
    By oo0tommyk0oo in forum Access
    Replies: 1
    Last Post: 07-07-2011, 11:27 AM
  3. Acces 2003: Import Form
    By compooper in forum Import/Export Data
    Replies: 4
    Last Post: 06-22-2011, 02:51 PM
  4. Acces 2003 MUI error
    By coudu in forum Access
    Replies: 0
    Last Post: 03-15-2010, 04:53 AM
  5. acces listbox hatası(acces debug)
    By carso in forum Access
    Replies: 1
    Last Post: 09-22-2009, 04:11 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