How to Sum Conditional Data in Crystal Report -


i have table called tbl_sale , there 7 columns in table want sum quantity returned shop in negative

so show how many quantity has been returned

create these formula fields:

// {@fields} {table.amount_0}+{table.amount_1}  // {@negative} if {@fields}<0   {@fields} 

insert summarized field on {@negative} formula.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -