Hi,
I need to sort cross tab based on the parameter value passed.
The parameter is "{?STRORDER}"
I used the below formulae for doing "Group Sort" - "For All" in cross tab.
For Account number ascending,
{@Acct_Asc}
==============
If
Instr({?STRORDER},'ACCT.ACCOUNT_NUMBER ASC')>0
Then
{Rpt.ACCOUNT_NUMBER}
For Account number Descending,
{@Acct_Desc}
===========
If
Instr({?STRORDER},'ACCT.ACCOUNT_NUMBER DESC')>0
Then
{Rpt.ACCOUNT_NUMBER}
This sorting is working fine.
This summaries are appearing in cross tab because i used formulaes {@Acct_Asc} and {@Acct_Desc}
in summary of cross tab to do the conditional sorting. So i suppressed it and When i suppressed these fields,
the existing summaries are getting stretched after export/new pages are created.
When i exported to PDF, 4 new blank pages are created, when exported to excel, the summaries are getting stretched.
Any solution to avoid this..?
Thanks