Saturday, 15 January 2011

reporting services - Dynamically create crystal report columns -



reporting services - Dynamically create crystal report columns -

i have created cross tab study create study dynamically according user's selected column.

but have got serious problem, wanna want hide other fields when fields empty (no info show).

the schema report:

<xs:element name="salsesummary"> <xs:complextype> <xs:sequence> <xs:element name="a1" type="xs:string"></xs:element> <xs:element name="a2" type="xs:string"></xs:element> <xs:element name="a3" type="xs:string"></xs:element> <xs:element name="a4" type="xs:string"></xs:element> <xs:element name="a5" type="xs:string"></xs:element> <xs:element name="a6" type="xs:string"></xs:element> <xs:element name="a7" type="xs:string"></xs:element> <xs:element name="a8" type="xs:string"></xs:element> <xs:element name="a9" type="xs:string"></xs:element> <xs:element name="a10" type="xs:string"></xs:element> <xs:element name="a11" type="xs:string"></xs:element> <xs:element name="a12" type="xs:string"></xs:element> <xs:element name="a13" type="xs:string"></xs:element> <xs:element name="a14" type="xs:string"></xs:element> <xs:element name="a15" type="xs:string"></xs:element> <xs:element name="a16" type="xs:string"></xs:element> <xs:element name="a17" type="xs:string"></xs:element> <xs:element name="a18" type="xs:string"></xs:element> <xs:element name="a19" type="xs:string"></xs:element> <xs:element name="a20" type="xs:string"></xs:element> <xs:element name="total" type="xs:decimal"></xs:element> </xs:sequence> </xs:complextype> </xs:element>

here way how map columns study

this how set custom styles

but when run it, how displays result.

you don't need have same fields in both rows , columns sections--choose one.

reporting-services crystal-reports crystal-reports-2008 crystal-reports-2010

No comments:

Post a Comment