I created a Job Cost report in v2018 recently that contained PTD and JTD cost and billing. I joined JC_JobBillingHistory to JC_Job. I used the following Crystal syntax selection formula: cstr({JC_JobBillingHistory.FiscalYear}) + cstr({JC_JobBillingHistory.FiscalPeriod}) <= cstr({JC_Options.CurrentFiscalYr}) + cstr({JC_Options.CurrentPeriod})
Field Formulas:PTD_Actual_CostIf {JC_Options.CurrentFiscalYr} = {JC_JobBillingHistory.FiscalYear} and {JC_Options.CurrentPeriod} = {JC_JobBillingHistory.FiscalPeriod} then
{JC_JobBillingHistory.ActualCosts}
Else
0
JTD_Actual_Cost{JC_JobBillingHistory.ActualCosts}
PTD and JTD Actual Billing is the same structure as the above costs------------------------------
Doug Higgs
Assistant Technical Support / Building Maintenance Specialist
Midwest Commerce Solutions, Inc
------------------------------