Results 1 to 6 of 6
  1. #1
    d-mcc56 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    16

    Best Way to Track a "Limitless" Process

    Hey guys,



    So quick description here,

    I have a form that displays information on construction agreements people have with us.
    You can search for an agreement and have it display all the information and important dates associated with that agreement.
    When the construction is completed for an agreement the contractor has to call us and request an inspection for our approval.
    Upon their request we have 30 days to actually go do the inspection and either approve or reject the construction.

    So 4 dates need to be recorded: Inspection requested, inspection due by, inspection done on, and then either construction approved or construction rejected.
    If it is rejected then the contractor needs to redo this process until it is approved, so it could potentially go on forever.

    I am asking you guys if you have any ideas as to what would be the best way to record this information?
    I do no want to rewrite over old dates, I want to be able to see all of the dates for every time a contractor goes through this process.

    My thoughts were to include a subform on the form in datasheet view that is continuous with the 5 dates as headings.
    I'd love to hear your ideas for a different approach to this.

    Thanks guys!

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    Up to you for your taste preferences. That should work or else a Continuous subform.

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    if each 'round' of inspections has a inspection requested date, you do not need the inspection due field

    If the inspection is requested on 1/1/2014 you can get the 'due by' date by the formula dateadd ("d", 30, [InspectionRequestDate])
    so realistically you only need 3 points of data for every round (at least as you have stated it)

    a PK for the table that will carry this information
    a FK to the contract table that the inspections are related to
    NOTE the first two can be handled if you're using bound forms by using a form/subform arrangement, if you're using unbound forms it's a little different but you still need both of these.
    a 'inspection requested' date
    an 'inspection completed' date
    an checkbox that can mean either 'approved' or 'rejected' (it doesn't really matter)

  4. #4
    d-mcc56 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    16
    Yeah I am using DateAdd for the due date but I still need the date to be displayed so I included it.
    PK? FK?

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    PK is the primary key (an autonumber) to provide a single field to uniquely identify records
    FK is a foreign key the value that relates the table another table, a table can contain multiple FK's.
    you can get the 'due by' date either in a query or to display on a form using the formula I gave you. It should not be stored in your table, nothing calculated should be stored.

  6. #6
    d-mcc56 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    16
    Ah okay thanks, never heard of them referenced that way, still an access noobie.

    Thanks!

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

Similar Threads

  1. Replies: 1
    Last Post: 09-03-2014, 03:27 AM
  2. Replies: 2
    Last Post: 11-14-2012, 04:47 PM
  3. Replies: 11
    Last Post: 03-29-2012, 02:32 PM
  4. Replies: 16
    Last Post: 07-22-2011, 09:23 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