sql server 2008 - Multiple document types in crystal report -


i try fetch multiple doc types in crystal report.. if doc type cn amount in - , if amount doc type dn must + ... . want this

crystal report no. doctype docno  docdate customer exempteddate s.tax rate s.t amount 1   ci      12   01-01-2016  abc                  150  20%  15200* 1   cn      12   01-01-2016  abc                  -32  20%  1234* 

this tried

crystal report no. doctype docno  docdate customer exempteddate s.tax rate s.t amount 1   ci      12   01-01-2016  abc                  150  20%  15200* 
  • whatever amount write rough amount

query ...i paste specific line

and acdochdr.doctype='cn', 'dn' ,'ci'  

any solution?


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -