Results 1 to 7 of 7
  1. #1
    sully944 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2018
    Posts
    3

    relationships and form usage issue


    Hi, I'm new to this and I'm ironing out some issues with my planning. I would like to use the tblvehrecovery which is linked to a form frmrecovery which will collect data from the attached tables. contact and phone in this case would only be a text field and not added to the contact table which does exist. Once this form creates a new record that record will need to be updated with status changes. Should I add and order table to facilitate this transaction? Click image for larger version. 

Name:	dbaserelate.JPG 
Views:	16 
Size:	54.5 KB 
ID:	32767

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Welcome to the forum

    I think you can dramatically simplify this as I think you are 'over normalising'.
    There are 9 tables with a PK field and one other field.
    There are another 2 tables with a PK field ONLY.
    It's unlikely you need to store these separately.
    If so, scrap most or all of those tables

    For example tblLicenseID - enter the value using a form and save in tblVehicleInfo.
    Suggest you remove the underscore.

    Use a query if you need to get a list of licence plate values.

    Similarly the other tables described above.
    Once you've simplified the structure you can then think about how to handle orders...which will need a separate table
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  3. #3
    sully944 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2018
    Posts
    3
    Thank you! I have been trying to figure this out in a vacuum so I'm really glad to be a part of a forum! I can now see I'm over normalising now that the word has been spoken . I'm straightening that out now.


    Quote Originally Posted by ridders52 View Post
    Welcome to the forum
    .
    I think you can dramatically simplify this as I think you are 'over normalising'.
    There are 9 tables with a PK field and one other field.
    There are another 2 tables with a PK field ONLY.
    It's unlikely you need to store these separately.
    If so, scrap most or all of those tables

    For example tblLicenseID - enter the value using a form and save in tblVehicleInfo.
    Suggest you remove the underscore.

    Use a query if you need to get a list of licence plate values.

    Similarly the other tables described above.
    Once you've simplified the structure you can then think about how to handle orders...which will need a separate table

  4. #4
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    You're welcome.
    The good news is that by trying to normalise your db from the start, its easy to put right
    Many Access newbies miss that point completely and treat Access like a spreadsheet on steroids which it definitely isn't - that approach is MUCH harder to put right
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  5. #5
    sully944 is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Feb 2018
    Posts
    3
    Ok so this is a little more normally normalised. Is it a correct assumption that injecting the recstatus which will change at the least 5 times in service process be in a separate order fulfilment table or is that doable in the tblserviceorder logically? Click image for larger version. 

Name:	new relationalmodelrecovery.JPG 
Views:	10 
Size:	77.4 KB 
ID:	32773

  6. #6
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Sorry I don't understand what you mean.

    Also, can you please expand each table to show all fields - at least one - tblEvents - still looks unnecessary & there may be more
    Also I don't understand why there are several fields showing a - sign and an indented field name.
    I've never seen that before and am unclear what that means
    Lookup field in a table perhaps? If so, not a good idea either
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  7. #7
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Echoing ridders52,

    Here are some suggestions:
    Use only letters and numbers (exception is the underscore) for object names.
    Do not use spaces, punctuation or special characters in object names.
    Do not use look up FIELDS, multi-value fields or calculated fields in tables.
    Do not begin object names with a number.


    Maybe you would post your dB.... doesn't need any records. Do a "Compact and Repair", then Zip it.

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

Similar Threads

  1. Relationships and table usage
    By gwboolean in forum Access
    Replies: 10
    Last Post: 09-04-2015, 04:37 PM
  2. Relationships/query issue - Help!
    By Chatholo in forum Queries
    Replies: 13
    Last Post: 07-02-2013, 02:31 AM
  3. query usage in a form
    By sherik in forum Forms
    Replies: 2
    Last Post: 04-21-2013, 03:45 PM
  4. Form Usage
    By crowegreg in forum Forms
    Replies: 7
    Last Post: 08-01-2011, 06:16 AM
  5. Issue with Relationships
    By Ev0luTioN in forum Database Design
    Replies: 5
    Last Post: 08-06-2010, 11:45 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