Page 2 of 7 FirstFirst 1234567 LastLast
Results 16 to 30 of 104
  1. #16
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Things are geting complicated.



    You do need a Table and only one for Check List.

    You would also need a Join Table where you select the equipment as a Foreging Key and the Check List items also as a Foregin Key.

    Is it posible for you to design this then post a Database that contains just the Tables together with some dummy data. Also create your relationships as you believe they should be.

    Please convert to Access 2003.

  2. #17
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    yes you are correct things are getting complicated. Additionally it is now extremely difficult for me to remove or enter dummy data into my database. I just tried for last hour and it breaks everything and have to create completely different forms, tables, etc

    Perhaps much easier if you have an email address I can send you a copy

    Thanks

  3. #18
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Create a new database and import the tables.

    Zip the database before posting.

    Should get you out of trouble.

  4. #19
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393

    Attached empty-ish database

    Haha, just finished as I got your latest message... Here this is best I could do but because I wanted to change names of forms, tables etc some things may not work as well, let me know any questions you may have?

    Thanks

    Attachment 4437

  5. #20
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Your Relaionships need some work. I will have a go at fixing them but may take some time.

    Is tblExample1 and tblExample2 the various thing that could be done for a particular Inspection?

  6. #21
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Always use

    Option Compare Database
    Option Explicit

    At the top of each Module. It helps to pick up some errors in your code.

  7. #22
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Yep that's right, they are examples of the different checklists that may be used for different equipment in an inspection. I have removed area from my consideration although it still exists in the relationships

    Currently the necessary relationships are

    1 client may have many sites and 1 site may have many clients
    1 site may have many inspections although 1 inspection is only on 1 site
    1 inspection may have many equipment and one piece of equipment may have multiple inspections

    for each piece of equipment there is a completely different check-list

    Thanks for all your help

  8. #23
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Thanks for the explanation. I will see what I can do but it will take a while. May not get back to you until tomorrow.

    PS What is your location. Is it Australia, NZ or close by.

  9. #24
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    That's fine and yes I am in West Oz, that's why I seem to usually be playing overnight Q+A on these forums with usually a day between Qs+As. appreciate everything no-end, I just want to get the relationships and design correct in first place. Cheers

  10. #25
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    In tblInspections What is ReferenceNo for and who are you recording the Cont Details for.

  11. #26
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Hi Rain Lover hope you are well today.

    There is a number of independent fields that are not carried/ required in other tables and I think you have found one in reference number. I think reference number is our number that we use to refer to the inspection I am not sure if this can be interchangeable with the primary key at this stage although I have left it there for now, however there is also a number of other numbers throughout the database that will be similar for example equipment number of a certain piece of equipment is different from equipmentid but is supposed to be a unique descriptor of the equipment, however unfortunately it may change over time or for whatever reason with regulations and can also can change from state to state.

    As far as contact details this is one of the main bits that is doing my head in as a number of contact details need to be added to database
    - 1 main client contact for clients head office (in tblClient)
    - multiple client contacts at different sites hence (hence tblClientSiteContact)
    - Multiple contacts for the inspection or different areas of site where different pieces of equipment are located I need to link this with area somehow at the moment it is in the Inspection table

    Another thought is that I started putting all the check-lists in different tables as I thought that would be the easiest to change order and fields frequently and also as I think every field will have some sort of different validation/ default value. The more I delve into this the more I work I have to do

    Cheers

  12. #27
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Stop work for about another Hour.

    I am making dramatic changes to the Tables.

    Will send ASAP.

  13. #28
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    No problem thanks for all

  14. #29
    Rainlover's Avatar
    Rainlover is offline Expert
    Windows 7 64bit Access 2003
    Join Date
    Nov 2009
    Location
    Queensland Australia
    Posts
    691
    Could a site have more than one Contact?

    Could a Client have more than one Contact?

  15. #30
    JFo is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    393
    Yes a site can have more than one client on site and thus can have more than one contact. Additionally a site may also have more than one clientcontact (multiple contacts for the same client on site)

    For ease A client can only have one contact as this is the current contact for client ie Head Office contact and i think can be in client table

    Thx

Page 2 of 7 FirstFirst 1234567 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. VBA to check if a database is open
    By FSCHAMP in forum Programming
    Replies: 1
    Last Post: 04-28-2011, 08:20 AM
  2. How to print on pre printed check list
    By captgnvr in forum Reports
    Replies: 4
    Last Post: 05-13-2010, 08:15 AM
  3. Massive help from ground up
    By Steven.Allman in forum Access
    Replies: 14
    Last Post: 02-20-2010, 05:48 PM
  4. Replies: 1
    Last Post: 02-12-2010, 01:45 AM
  5. List box column check..
    By empyrean in forum Programming
    Replies: 1
    Last Post: 10-28-2009, 08:18 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