Results 1 to 6 of 6
  1. #1
    NightWalker's Avatar
    NightWalker is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Midwest USA
    Posts
    253

    Design help for making calculations from tables.

    I have a test system that runs pressure profiles. These profiles range from 0psi to 2000psi. There is also a rate that the pressure increases and decreases. The profile has many increases and decreases as well as hold times at the target pressure. These profiles are associated with production products. I have a table already for the production products. All products have only one profile. Some profiles are used for multiple products. I am trying to be able to enter a start time and have all the times for the steps of the profile calculated. The only item needed to be recorded from the times is the start time, but on the form or report I would need to see all the times for each step of the profile that would be running. I am not sure how to build the tables that I can reference to do the calculations for the times for the different profiles.



    Here is an example of a pressure profile. only the first start time would need to be saved.
    For this product the pressure change rate is 100 psi/min up and down.


    Click image for larger version. 

Name:	Capture.PNG 
Views:	14 
Size:	12.2 KB 
ID:	24851

    Thank you for any help or advice on this.
    Walker

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    is the query supposed to build all times except the 1st?
    if so, is there a list of time increments ([REQD] field ) that IT would do , OR are the increments typed in? 5min, 2hr, etc...?

  3. #3
    NightWalker's Avatar
    NightWalker is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Midwest USA
    Posts
    253
    ranman

    Thanks for your reply!!!

    I was wanting to build all times after the first based on the increments of the (reqd) field. I currently do not have any of this information stored in access. I am not sure how to approach putting all the different profiles into a table setup.

  4. #4
    NightWalker's Avatar
    NightWalker is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Midwest USA
    Posts
    253
    I am mostly looking for ideas for a jumping off point and I will do my best to run from there. I like trying to figure out everything but this one I don't even know where to start the table structuring.

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you need all the test cycles and their times, then it can build cycle2 with 2 minutes. (cycle 1 means nothing)
    youd have to have to breakup REQD since it cant be used in calculations, it would have to be 2 fields:
    cycle, TimeInc, TimeType, Note
    3, 5 , n , (5 min)
    9, 2 , h , (2 Hr)

    starttime = DateAdd(TimeInc,Timetype,prevTime)

  6. #6
    NightWalker's Avatar
    NightWalker is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2016
    Location
    Midwest USA
    Posts
    253
    ranman

    Thank you for the reply. I am working on that right now for all my products. If I have multiple products that use the same test profile how would I get each product to look at their respective profile calculator.

    Thank you,
    Walker

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

Similar Threads

  1. Calculations in Tables and Forms
    By clairdorsey in forum Forms
    Replies: 6
    Last Post: 06-19-2015, 11:13 AM
  2. Replies: 16
    Last Post: 04-28-2015, 03:57 PM
  3. Calculations in tables
    By frustratedwithaccess in forum Access
    Replies: 3
    Last Post: 11-12-2014, 10:23 AM
  4. Making calculations between certain dates
    By sivega in forum Access
    Replies: 1
    Last Post: 06-24-2013, 10:05 AM
  5. Calculations in Different Tables
    By gatsby in forum Access
    Replies: 1
    Last Post: 03-27-2013, 05:55 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