I wasn't sure in which forum to ask this question, but here goes. I need to know the formula for determining the number of days between the "current" date and an earlier "fixed" date. The report shows cases that are still open in our office.
Besides other criteria, I want the report to indicate the number of days each case has been open based on the date filed (DateReceivedinADR in the table) and the date the report is being run (which is ever-changing).
In the Page Header of the report I created a label titled Case Age. Under this, in the report's detail section, I created an unbound text box and inserted this formula as the control source: =[CurrentDate]-[DateReceivedinADR]. I was hoping CurrentDate would pick up the date from the PC and, in comparing it to the other fixed date, it would automatically make the calculation, but it didn't work.
Any suggestions on how I can make this work, or where I went wrong? Thanks.
Besides other criteria, I want the report to indicate the number of days each case has been open based on the date filed (DateReceivedinADR in the table) and the date the report is being run (which is ever-changing).
In the Page Header of the report I created a label titled Case Age. Under this, in the report's detail section, I created an unbound text box and inserted this formula as the control source: =[CurrentDate]-[DateReceivedinADR]. I was hoping CurrentDate would pick up the date from the PC and, in comparing it to the other fixed date, it would automatically make the calculation, but it didn't work.
Any suggestions on how I can make this work, or where I went wrong? Thanks.