Help
We are running Actuate 7 against an Aircraft Engineering Database. The following code comes from the original IQ Report to calculate the remaining life:
NVL(case when NVL(cadb:'lits'.longtth.act_occ, 0) = 0 then (cadb:'lits'.longttn.fst_mtr_red - cadb:'lits'.prmr.cum_met_red)
[Red] else case when
NVL(cadb:'lits'.stdfreq.fix_sch_ind, 'N') = 'Y' then cadb:'lits'.longttn.frm_int - (cadb:'lits'.prmr.cum_met_red - cadb:'lits'.schfreq.trg_lmu_val ) [/Red]
else cadb:'lits'.longttn.frm_int - ( cadb:'lits'.prmr.cum_met_red - cadb:'lits'.longttn.lst_acl_mtr ) end end, 0.00)
It is set as a calculated field in the QBE SQL, and Actuate happily accepts it. However, when an attempt to run the Report in ErdPro is made it fails with an Invalid String Constant. If I remove the line in red, it runs quite happily. We here cannot see what's wrong, but maybe we're to close. Thnxs in advance for any advice.
ASG
We are running Actuate 7 against an Aircraft Engineering Database. The following code comes from the original IQ Report to calculate the remaining life:
NVL(case when NVL(cadb:'lits'.longtth.act_occ, 0) = 0 then (cadb:'lits'.longttn.fst_mtr_red - cadb:'lits'.prmr.cum_met_red)
[Red] else case when
NVL(cadb:'lits'.stdfreq.fix_sch_ind, 'N') = 'Y' then cadb:'lits'.longttn.frm_int - (cadb:'lits'.prmr.cum_met_red - cadb:'lits'.schfreq.trg_lmu_val ) [/Red]
else cadb:'lits'.longttn.frm_int - ( cadb:'lits'.prmr.cum_met_red - cadb:'lits'.longttn.lst_acl_mtr ) end end, 0.00)
It is set as a calculated field in the QBE SQL, and Actuate happily accepts it. However, when an attempt to run the Report in ErdPro is made it fails with an Invalid String Constant. If I remove the line in red, it runs quite happily. We here cannot see what's wrong, but maybe we're to close. Thnxs in advance for any advice.
ASG