Go to Scriptcase store

# onHeader - Chart
View video

This event occurs before the header display
This event is frequently used when it is required to display any calculated value on report's header Ex. In a customer report header it is required to display the customer balance on reports header. Create a field called fld_customer_balance on fields menu. sc_lookup(v_bal," select sum(debits) - sum(credits) from view_debits_credits where customer ='{field_customer}' ");