i have subreport which is taking parameters 'MyItem' and 'MySubItem' from main report
i have supress condition for detail is
{TEST_GET_ORDERRESULTSDATA_SP2.ORDERITEMNO}<>{?MyItem}OR
{TEST_GET_ORDERRESULTSDATA_SP2.SUBITEMNO}<>{?MySubItem}
now the result records have 'RecordType' field. possible values 'active', 'Inactive' and 'lapsed'. I grouped on
{TEST_GET_ORDERRESULTSDATA_SP2.RecordType}
now i want every group has different header as bellow
in page header of subreport column names
col1 col2 col3 RecordType
----------------------------------------------------------------------
----------------------------------------------------------------------
Active
-----------------------------------------------------------------------
a b c Active
-----------------------------------------------------------------------
Inactive
-----------------------------------------------------------------------
a1 b1 c1 Inactive
----------------------------------------------------------------------
lapsed
----------------------------------------------------------------------
a2 b2 c2 Lapsed
I tried adding 3 group header and putting suppress condition as
if({TEST_GET_ORDERRESULTSDATA_SP2.RECORDTYPE}<>"Lapsed")then
true
else
false
it gives me out put like above. but if there is no record of type laped
it shows me
----------------------------
lapesed
---------------------------- then blank
Edited by abhijeetp - 06 May 2008 at 6:17am