cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member188030
Active Contributor
0 Kudos

See if this helps,

- Apply [SP2 for CR for VS 2010|http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe]

- Open the rpt in the CR for VS 2010 bundled designer.

- Preview it, see if it works.

- Save it and then use it in the application. This will upgrade the rpt properly.

- Bhushan

Former Member
0 Kudos

I am using SP2 version only (i.e. CR_VS2010_13_0_2)

Even after I saved the rpt file using CR_VS2010 IDE in VS2010, It does not make sense the changes.

For instance,

I have the following formula:

if {PublicHolidayDT.GROUPUID} = '1' then

{PublicHolidayDT.PHDATE}

I dragged and dropped this into detail section and formatted the object to property only Date style rather than DateandTime. Still I am getting the output like this:

01-05-2011 00:00:00.00

10-06-2011 00:00:00.00

06-11-2011 00:00:00.00

But in that report when running Crystal Report 2008 environment, it is fine working. Whereas in CRforVS2010 (13.0.2) it is not working.

Please tell me why is this like Mr.Don?

Thanks & Regards,

Mani G.S.

Answers (0)