I am attempting to write a rpt that passes values derived from a formula in the sub to the main rpt. I'm having difficulty writing the if-then-else statement. The report is based upon a history table where I am extracting values from change points during the history. My calculation must reference the same record throughout each report in order for the calculation to work.
Example: do [rpt2.DaysOldformula - rpt1.DaysOldformula] if rpt2.crdat = rpt1.crdat
Any suggestions? Maybe if-then-else is not the right direction. HELP!!!
Example: do [rpt2.DaysOldformula - rpt1.DaysOldformula] if rpt2.crdat = rpt1.crdat
Any suggestions? Maybe if-then-else is not the right direction. HELP!!!