I feel like the answer will be a simple one and I will go "doh!" - but here it goes.
I have a form that will be used to input variables (on which calculations will be made in another form or report). These variables are used to calculate total capacity for a gas plant. As such, they have an effective date.
I am trying to create a report or form that can be pulled up to display the variables and calculations on any given day.
Example:
I have sets of variables that are effective on 9/15; 9/25; and 10/15. I want to pull up the variables that were in effect on 10/1 - and then do my calculations and return the plant capacity on 10/1. On 10/1, I would want to pull up the variables for 9/25.
I have the calculations figured out. But I cannot seem to figure out how to populate my controls with the specific set of variables based on the effective date. Most of the time, they will be pulling the information for the current day, but I cannot rule out the possibility that someone would want historical data.
Is this even possible? Is there a better way to do this that I am not seeing?
I have a form that will be used to input variables (on which calculations will be made in another form or report). These variables are used to calculate total capacity for a gas plant. As such, they have an effective date.
I am trying to create a report or form that can be pulled up to display the variables and calculations on any given day.
Example:
I have sets of variables that are effective on 9/15; 9/25; and 10/15. I want to pull up the variables that were in effect on 10/1 - and then do my calculations and return the plant capacity on 10/1. On 10/1, I would want to pull up the variables for 9/25.
I have the calculations figured out. But I cannot seem to figure out how to populate my controls with the specific set of variables based on the effective date. Most of the time, they will be pulling the information for the current day, but I cannot rule out the possibility that someone would want historical data.
Is this even possible? Is there a better way to do this that I am not seeing?
Comment