Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 03, 2012 at 01:20 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.