Skip to Content
0
Former Member
Jan 02, 2012 at 02:34 PM

getting error when i try to suppress group header based on the following fo

34 Views

Hi,

Environment:

Os - Windows 7

Crystal report developed in CR2008 - .rpt developed and running successfully here with the same formula.

VS2010

CRforVS2010

I am getting error when i try to suppress group header based on the following formula:

if totext({?ShowHideParam},0) ='1' and sum({spAbsenceType_Report;1.cnt},{spAbsenceType_Report;1.ORGUID}) =0 then

true

else

false

| am not getting in Crystal report developement evironement (Crystal report 2008 (12.3.0.601) - getting the output successfully. Whereas when I integrate through .NET code (in Crystal for VS2010 (13.0.2)) I am getting the following Error message:

Error in fomula section_visibility:

' if totext({?ShowHideParam},0) ='1' and sum({spAbsenceType_Report;1.cnt},{spAbsenceType_Report;1.ORGUID}) =0 then'

Details:errorKind

Even if I do the aggregation in DB and put the following formula also getting error when integrated with VS2010.

Error in fomula section_visibility:

' if totext({?ShowHideParam},0) ='1' and {spAbsenceType_Report;1.cnt} =0 then'

Details:errorKind

Please Help me ASAP.

Thanks & Regards,

Mani G.S.

Edited by: Manikandan G S on Jan 3, 2012 7:04 AM