Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    sprtrmp is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Location
    Greenville, SC
    Posts
    102
    Alrighty, here is a "better" description of what I am working on.

    what I am actually tracking are "overtime periods" or what we refer to as AFTPs. not every AFTP is going to have a flight attached to it. my thinking was that it is better to break those into separate tables, since there won't be a "flight" every time some does and AFTP. Similarly, there is a separate table for "LeaveTaken" that tracks when someone would need to take leave to do an "overtime period" (long story, its a government thing *rolls eyes*). Also, not every overtime period is going to have a remark attached to it, so again, my thinking was to break those not-necessarily-recurring things into separate tables to avoid a decent degree of "blank space" on the main table.

    the reason I have referential integrity enforced is to take advantage of cascading deletes/updates: if an AFTP is deleted from the main table or updated, I would want any information regarding flights/leave/remarks to go with it.



    Is this the best way to go? (obviously no, huh?)

    and, in the case where an overtime period is input where there IS a flight related to it, what is the best way to handle creating a new record?

  2. #17
    sprtrmp is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Location
    Greenville, SC
    Posts
    102
    Quote Originally Posted by John_G View Post
    Oops - sorry sprtrmp - I posted this before I saw your post above. It's a bit repetitious I guess, but does explain what is happening (I hope). Working with relationships can drive you nuts sometimes. (outside of Access, too - but that's another story )
    ZIIIING!!

    ...I am not very good at either, apparently

  3. #18
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Quote Originally Posted by sprtrmp View Post
    (are you just messing with me?)
    I wouldn't mess with you. Okay, I would, but I wasn't.

    Sounds like you and John are getting it all sorted though?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #19
    sprtrmp is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Location
    Greenville, SC
    Posts
    102
    Yes, John G pretty much got me squared away. turns out it was all due to rookie mistakes and silliness. I went back and took a look at the tables and combined two of them, the restructured the relationships as one-to-one after spending a little time reading up on the different types of relationships. things are working much better now.

    thanks for the help

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

Similar Threads

  1. Replies: 2
    Last Post: 02-07-2015, 11:20 PM
  2. Replies: 2
    Last Post: 10-17-2012, 01:35 PM
  3. Textbox Control Source As Field Input
    By Jester0001 in forum Forms
    Replies: 4
    Last Post: 03-02-2012, 10:50 AM
  4. Replies: 17
    Last Post: 02-08-2012, 10:06 AM
  5. Accept user input to populate new record
    By bbrazeau in forum Forms
    Replies: 1
    Last Post: 01-03-2012, 05:45 PM

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