Results 1 to 3 of 3
  1. #1
    wildgoose1uk is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    1

    New Database

    I am designing a database as a favour for my wife. I haven't used Access a lot for about 6 years when I was using 2003. 2010 looks quite different!



    What I need to do is design a database for about 30 contracts my wife's firm holds to provide services in various parts of the UK. The database need to be able to do the following:


    • Hold all contract details Site name, address, services provided, terms of contract, when payments expected etc so all info can be outputted into one report either foe all contracts or, more likely, selected contracts;
    • Tracking of KPI's on a monthly basis with reports being generated on specific sites and comparative reports across sites;
    • The KPI data would hopefully be supplied from the sites and uploaded directly into the database as xls or csv or similar (?xml)

    These are the main things to begin with. I have created a table for the contract info with a few other tables for look-up data. The Report Wizard threw a wobbly at the number of fields in the report and refused to do it so I created one manually and just played with it till I got the design I wanted. Still needs tweaking but we are getting there.

    Current considerations are:


    • Is it best to have everything in one database?
    • Or to split them into one table per whole contract including KPI's etc?
    • Or One table for the contract details for all 30 contracts and one table for all 30 sites KPI's etc?

    For me it is crucial to get this bit right as there are quite a lot of fields so it is quite time consuming. Also I believe it is best to gett he structure right from the start.

    Many thanks for your help.

    wg

  2. #2
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    First yes have everything in 1 database. However Look up the term 3rd Normal Form for Your Tables Design. Just from your statement here I would look at a Site Table, Contracts Table, Payments Table. I would bet there should be more but that's all I can get from the data shown.

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    The whole purpose of a database is to do exactly what you're asking so, no, you don't want to give each contract a different database or table for that matter.

    Without knowing the nature of the contract information you're tracking it's hard to give you any concrete suggestions but think about the rules of normalizing databases. Basically this means that you don't want to store the same information in multiple tables. It's a waste of space and is poor practice. So think about things like, if I have a customer, will they have multiiple contracts? of so I need a customer table and a contracts table. One customer, many contracts (one to may relationship). Will each contract have a list of services provided? If so I need a contract table, a services available table, and a contract services table. One contract many contract services (one to many) and so on.

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

Similar Threads

  1. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  2. Replies: 20
    Last Post: 08-08-2011, 01:34 PM
  3. Replies: 3
    Last Post: 05-15-2011, 10:52 PM
  4. Replies: 1
    Last Post: 11-03-2010, 10:41 AM
  5. Replies: 4
    Last Post: 08-12-2010, 08:38 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