VS2010 Eliminate Group Tree Level

I need to have a variable number of levels in the group tree in VS2010, a technique I have used in CR for VS2005. I also saw this resolved for someone using VS2008 on thread 8244145 using the same method that I used in 2005. If, at the most detailed level, I group on a formula that I have return a zero length string, that level still shows up in the tree and crashes the program if the user tries to drill down that far.
Group 1 formula
select {?level}
    case 1 : {XXX.AGENCY_CD}
    case 2 : {XXX.REGION_CD}
    case 3 : {XXX.ORG_CD}
default: ""
Group 2 formula
select {?level}
    case 1 : {XXX.REGION_CD}
    case 2 : {XXX.ORG_CD}
default: ""
Group 3 formula
select {?level}
    case 1 : {XXX.ORG_CD}
    default: ""
Edited by: sandcrab72 on Jan 31, 2011 6:35 PM

Don
I set the grouping level to 3 (out of 1,2,3,4). If the level is 4, the tree makes no sense, so I hide it.
If I run the program from the IDE:
When I try to drill down in the GroupTree to the level that should not exist, Visual Studio breaks n allInOne.js with the error "Microsoft JScript runtime error: 'txtTooltipLyr' is null or not an object".
If I view it in the Main Report Preview in the IDE:
The 2 levels of nodes that should be eliminated are visible, but they do not do anything. The have no text and expanding the lowest level of the tree does nothing.
If I deploy the web page and run it without using the IDE:
The 2 levels of nodes that should be eliminated are visible, but they do not do anything. The have no text and expanding the lowest level of the tree does nothing, except that on the browser status bar there is an 'Error on page.' message.
I have never exported to RPT format. I just tried it and I had to open it with visual studio. It acts just like Main Report Preview described above.
DebugDiag does not show anything, I am guessing because the IDE is catching the error and nothing is really crashing.
Chip
Edited by: sandcrab72 on Feb 22, 2011 9:27 PM

Similar Messages

  • Eliminating Group Tree Level in VS2010

    I need to have a variable number of levels in the group tree in VS2010, a technique I have used in CR for VS2005. I also saw this resolved for someone using VS2008 on thread 1493907 using the same method that I used in 2005. If, at the most detailed level, I group on a formula that I set to return a zero length string, that level still shows up in the tree and causes an error if the user tries to drill down that far.
    The 3 grouping furmulas:
    Group 1 formula
    select {?level}
    case 1 : {XXX.AGENCY_CD}
    case 2 : {XXX.REGION_CD}
    case 3 : {XXX.ORG_CD}
    default: ""
    Group 2 formula
    select {?level}
    case 1 : {XXX.REGION_CD}
    case 2 : {XXX.ORG_CD}
    default: ""
    Group 3 formula
    select {?level}
    case 1 : {XXX.ORG_CD}
    default: ""
    Summary
    If reporting from Level 1, then all levels of the tree are necessary. If reporting at level 4, I hide the group tree, since it is not necessary. If I want to report from level 3 (or 2), 2 (or 1) levels of grouping should be eliminated, but they are not.

    Don
    I set the grouping level to 3 (out of 1,2,3,4). If the level is 4, the tree makes no sense, so I hide it.
    If I run the program from the IDE:
    When I try to drill down in the GroupTree to the level that should not exist, Visual Studio breaks n allInOne.js with the error "Microsoft JScript runtime error: 'txtTooltipLyr' is null or not an object".
    If I view it in the Main Report Preview in the IDE:
    The 2 levels of nodes that should be eliminated are visible, but they do not do anything. The have no text and expanding the lowest level of the tree does nothing.
    If I deploy the web page and run it without using the IDE:
    The 2 levels of nodes that should be eliminated are visible, but they do not do anything. The have no text and expanding the lowest level of the tree does nothing, except that on the browser status bar there is an 'Error on page.' message.
    I have never exported to RPT format. I just tried it and I had to open it with visual studio. It acts just like Main Report Preview described above.
    DebugDiag does not show anything, I am guessing because the IDE is catching the error and nothing is really crashing.
    Chip
    Edited by: sandcrab72 on Feb 22, 2011 9:27 PM

  • CRVS2010 Beta - group tree in VS 2010 Crystal Report

    Hi, I have installed VS 2010 Beta 2 Crystral Report and converted VS2005 report to VS2010 version.
    I noticed there is a group tree button on the left side of report and I can't remove it.
    question1) is there a way to remove Parameter Panel from the report when the report comes up?
    question2) if I cannot remove Parameter Panel, is there a way to disable/remove the group tree butten?
    thanks
    Edited by: remowilson on Nov 2, 2010 3:36 PM
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Nov 2, 2010 8:08 AM

    From CR 2008 Developer Help file:
    The new parameter panel in Crystal Reports 2008 lets users set static and dynamic parameters and refresh the report. Users can also interactively format and filter report data. The parameter panel is available from the tool panel. You can access the parameter panel by clicking the Toggle Interactive Parameters button on the toolbar or programmatically by using the following code:
    Visual Basic Copy Code
    myCrystalReportViewer.ToolPanelView = ToolPanelViewType.ParameterPanel
    C# Copy Code
    crystalReportViewer.ToolPanelView = ToolPanelViewType.ParameterPanel;
    You can hide the Toggle Interactive Parameters button programmatically by using the following code:
    Visual Basic Copy Code
    myCrystalReportViewer.ShowParameterPanelButton = False
    C# Copy Code
    crystalReportViewer.ShowParameterPanelButton = false;
    The panel displays all parameters that have been set to Editable or Read only. If a parameter is set to Editable, you can add, delete or modify parameter values by clicking the Show the Advanced dialog box button. If the parameter values are modified but not applied, an asterisk will appear beside the parameter field to indicate that the values were not applied to the report.
    Note 
    If the parameter accepts custom values, you can directly edit the parameter value in the text box on the parameter panel.
    A database icon will appear adjacent to data parameters. When you modify the value of a data parameter, the report refreshes and accesses the database to make the corresponding changes. When you modify the value of a non-data parameter, the report is formatted or filtered based on saved data within the report. The report does not access the database.

  • Group Tree Basic

    Hi
    I am using group trees in my report and it works fine, but I am not able to hide the group tree pane.
    is there a way to hide it so that based on the use it displays only their results in the server when u run the report?
    Also is there a way to show group trees for some users and hide it for some?
    -like a super level user see all groups and runs report choosing from the group.
    - an end user does nto see the group tree pane and only see his results based on the group condition.
    Thanks!!

    Are you in crystal reports XI / XIr2 / 2008 ?
    In 2008 you wont be having that option in the report option, for that
    go into > registry > Goto > Run > Type regedit>
    In HKEy_Current Users > Software > Business Objects> Suite 12.0 > Report View > Change the string value of "Creategrouptree" as NO then open the report and try to refresh.
    Hope this helps!
    Vinay

  • Removal of Group Tree selection results in Highlighting

    Hello all,
    I'm using CR for VS2010 SP1
    I was just wondering how I can remove the highlighting when I select a Group Tree item.
    For example, when I select an item in the Group Tree, the report returns with the selected item "highlighted".
    Is there a way to remove the highlight?
    Thanks for any help with this.
    JohnMc
    Edited by: JohnMc3 on Jun 1, 2011 3:49 PM

    Hi John,
    Sorry I got ahead of myself. What I was suggesting is if you click anywhere else in the viewer the highlight is removed. I was looking/thinking if an event could be triggered to set focus somewhere else the highlight would be removed.
    Other than that I don't see any other way. Odd your users don't want to see what they clicked on... What ever you are used to I guess....
    No option directly. If you want add your request to Idea Place and the PM's will look into it.
    Just thought of something else, Hide the Group Tree and create your own, then you have full control over what it looks like. Lots of work for a minor appearance preference though...
    Thanks
    Don
    Edited by: Don Williams on Jun 2, 2011 6:42 AM

  • Including Group Tree in HTML Export

    I have a report in Crystal Reports XI that includes 5 group headers.  When exporting to HTML I would like to include controls similar to the Group Tree so that the user viewing the HTML page can expand and collapse sections (i.e. start with just the Group 1 items displayed all others collapsed and the user could then drill into the Group 2 and then Group 3 levels).   Is there a way to do this through Crystal Reports?  If not are there any alternative approaches I should explore?
    Thanks, Ken

    Hi Ken,
    Not possible in exporting to HTML, it's all static info.
    One option is to create your own WEB application or use Crystal Reports Server to publish your reports to and then users can log in and use the viewers to see them.
    Another option is to send them the RPT file, but they will need a copy of CR to be able to preview it.
    Thank you
    Don

  • Customise Group Tree

    I am using Crystal 8.0.
    I have group trees that lets the user navigate the report. The report has 3 groups. Management wants the top parent group to disappear. Basically, management only wants to show two groups. I tried to create a custom group and set it to blank. That did not work because what management wants is for the group tree just to show the two underlying groups.
    Can I prune the parent group on the group tree and just show the underlying groups?

    Change your level 1 grouping to a concatenation of level 1 & level 2.
    Remove level 2 group.
    Customize the Group #1 Name to show what you want (sounds like you want to show only what used to be the level -2 group field).

  • Cant select the group tree

    Morning All
    I have a crystal report in which I have multiple groups and subreports in the group footers.
    I am not able to select the group tree coz i dont see the group name.
    It's a very complex report and the group tree is very much important.
    Please help.
    Thanks in advance
    -AG

    Hi Sourashree
    Answers to your questions:
    1. What is the version of Crystal Reports that you are using? CRXIR2
    2. Do you have BusienssObjects Enterprise installed? Yes we have.
    3. What's the patch level of the enterprise and CR?  both are SP2.
    Is it happenibng from Crystal Reports Designer Stand Alone applicationor from Infoview? We do use infoview but I am getting this issue in the Crystal Reports Designer itself.
    It's going critical now.
    Please help!!
    Thanks in advance.
    -AG

  • Remove show/hide group tree at inforview for cystal report

    Hi there!
    I have 2 copies of Inforview install on 2 computers.
    The first one, is my local comp. The display of cyrstal report at dynamic viewer is ok.
    However on my second comp. The viewer will default to show the group tree stucture. I have tried to set the configuration at web.config. But it is still displaying the group tree structure.
    Anyone could assist me?
    Thanks and Regards,
    Joni

    I have tried disabling the option "Show Preview Panel" (according to a screenshot I found, this option replaced the old "Create Group Tree" option) in Report Options, and that effectively eliminates the content of the group tree, however, the group tree panel still comes up and shows empty until it is hidden using the toolbar.
    This is really annoying and I can't find any solution for it on the web. Any ideas anyone?
    Thanks,
    Joerg.

  • Main Reports' Group Tree doesn't retain last record selected

    In Crystal 2008 Viewer, when you click one of the last tree nodes on a long Group Tree, the program jumps to that part of the report for that group.  But when you return to the Main report tab the Group Tree pane returns to the top.
    According to my users, previous Crystal versions used to outline the previously selected tree node and keep that section in the left pane, so the user could see where they just were.
    This partially works in the Crystal 2008 Developer version.  If I preview the report and drill down with the group tree, the Preview tab's group tree pane stays in place.  I do not, however, have any outline or indication of what group was just selected.
    I found this in the help text: "For longer reports or reports in which you wish to jump back and forth between different groups, the smart navigation features of the Group Tree make your work extremely efficient."  For the users to jump back and forth efficiently they need the Main Reports' group tree to remember the general location from which they came (at a minimum) AND/OR the previously drilled record also be highlighted/outlined (at best).

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Sub report group tree in main report Using crystal report 12

    Hi experts,
        I have a strange requirement like, same data needs to be grouped two different ways in a same report.  Like
    Store1:
        Summary of sales on each item chart
    Store2:
        Summary of sales on each item chart
    .....it goes like this
    Department1(multiple stores)
          summary of sale on each item chart - store1
          summary of sale on each item chart - store2
         --........ it goes
    Department2
          summary of sale on each item chart - store3
    --........ it goes
       Its in single report, the first part is grouped only with store and in second part the store is under department. How to do this in same report?
        I achieved  this by creating a sub report to display the first part of data and in the main report sup report data plus the second part of data will be displayed. And its working well but now the problem is the group tree, I'm not able to see the sub report group tree in the main report.
       How to get the sub report group tree in the main report, Or is there any other better way is there so i can get both the data as well the group tree. Please help me to solve this. CryCryCry
    I'm using crystal report 2008(installed separately) with Visual Studio2008 (.Net3.5)
    Thanks in advance.

    Hi
    Thanks for the reply.
        Yea both data source are same(Datasource is SQL Stored Procedure). I cant use like that, because my client needs the group tree also. In case if there is no group tree, we can create one more group and supress it conditionaly. But here the problem is there is no way to suppress any of the group item in group tree as we can do it in the detail section.
        So please me with some different ways and also , please clarrify the following doubts
    1. Can we supress one or more items in the group tree.
    2. Can we get the sub report group tree in main report(Everything is working when i used the sub reports except the group tree). So I'm trying for different ways to do, but none is helping me
    Please help me

  • Having issues viewing interactive parameters and group tree in Visual Studio 2013 design view.

    Hey Guys,
    I'm a web developer (front end and back end, kind of a one man army sort of deal) and my current employer wishes to use crystal reports to display the results of the online survey apps/tools I have been working on for the last few months. However, I have been having trouble getting the reports to render in browser, and a lot of the ui components of the browser based report viewer (the interactive parameters and group tree) will not render properly in the design view of visual studio (ive attached a screen cap of what I'm talking about) or in the browser itself.
    I am new to crystal reports and its community and if I am leaving out any critical details or have posted in the incorrect section please inform me and I will make changes as necessary.
    Additional info:
    Visual studio version: 2013 professional (trial)
    Plugin version (exe file name): CRforVS_13_0_9.exe (I also installed the 64 bit run-time from this)
    Server and OS versions: IIS 7.5 on Microsoft Windows Server 2008 R2
    Any help you guys could provide would be greatly appreciated.
    Cheers,
    -Mike

    Hi Mike
    First thing you want to do is uninstall CRVS SP 9 and install CRVS SP 10. SP 10 is the first SP to support VS 2013.
    Once that is done, let us know if that helped any.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Hide the 'group tree' in crystal reports 2008

    Hey Guys,
    Please help me out.
    I need to hide the group tree which automatically shoots on the crystal report after execution.
    This is what i need to see. Only the report data (After report execution) i do not need to see the group tree under the tab 'main report' which appears on the left had side of the report.
    I know that in the previous version there was an option which would hide the group tree option under File>Report Option> uncheck Group tree.
    But there is no option here in CR 2008.
    Is there a code i need to insert somewhere in the report??
    Regards,
    Harvino

    Hi Chinmay,
    Thanks for your quick reply, I was late on the reply because I had a load of other things to do. Sorry for that....
    I am aware that we can click the toggle panel to remove the group tree.
    But a user wants to hide the group tree on 1st run,,,, that is causing the problem.....
    I cant seem to find an option we can disable group tree for the user, so that he may not view the group tree..
    Harvin

  • Report as an Inquiry tool - Controlling the Group Tree

    Users would like to be able to use this report as an inquiry tool... having trouble with displaying only relevant data (or at least highlighting the appropriate/relevant data on the left hand window pane - aka the Group Tree).
    Perhaps the report needs to be reconfigured as a subreport?
    Here is the issue, any hints or suggestions are welcome!
    thanks
    CR Xi   --version --> 11.0.0.2134
    Report Groups on Last Name
    Transaction detail; totaling an amount field (logic works to suppress if total of all transactions is not equal to zero) -- Report is reporting on zero balance records by last name --
    Selection expert;
    Sum ({transactions.Amount},{MASTER.HEAD_L_NAME}) >= $0.009  (group selection)
    {MASTER.UNIT_ID} = ""  (record selection)
    Of the 10,000 records returned (unit id = blank),  200 records have a sum of zero in the amount fields (the sum of all transactions by last name)    u2013 this all works fine
    Is there a method to control what the users see on the group tree? What it is displaying on the left are the Group records (10,000) by last name who have a blank unit id in the master file... drilling down on one of the 200 transactions where the record meets both criteria works fine...but the other 8,800 records don't meet the detail/transaction criteria, so there is nothing to display and hence the drill down makes no sense when used as a query - The correct records are shown on the report - that is, if the users printed the report, they would get records which meet both criteria...
    Can only records show on the left side when they meet both the group (id = blank) and detail (transactions summed = 0) selection criteria?
    Or can they at least these that meet both criteria be highlighted in some way?

    try using Group selection (select expert->group) along with record selection.
    --Kuldeep

  • Group Tree: Error in Ajax response - message: missing } in XML expression

    Hi,
    We were using a previous version of Crystal libs and viewer. I wanted to get up to date with the latest jars and viewer so I downloaded and installed the version with Eclipse 3.4.1 and crystal development bundled together.
    I've copied the new jars from there into my existing project. I've also copied the folder cyrstalreportviewers into the project. We're using Tomcat 6.
    I've now got a problem with the Group Tree at the moment since I started using the latest libraries and crystal report viewers.
    My web.xml looks like this.
            <context-param>
              <param-name>crystal_image_uri</param-name>
              <param-value>/crystalreportviewers</param-value>
         </context-param>
         <context-param>
              <param-name>crystal_image_use_relative</param-name>
              <param-value>webapp</param-value>
         </context-param>
            <servlet id="CrystalReportViewerServlet">
              <servlet-name>CrystalReportViewerServlet</servlet-name>
              <display-name>CrystalReportViewerServlet</display-name>
              <servlet-class>
                   web.servlet.ReportingViewerServlet
              </servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
           <servlet-mapping id="CrystalReportViewerServletMapping">
              <servlet-name>CrystalReportViewerServlet</servlet-name>
              <url-pattern>/CrystalReportViewerHandler</url-pattern>
         </servlet-mapping>
    A request to the uri https://......../WebApp/CrystalReportViewerHandler?id=3
    The servlet doesn't do anything that seems to be uncommon. I can post more precisely what it does if needed.
    The report will load correctly, I don't get an error page asking if my crystalreportviewers/ path is accessable to the server.
    I get a parameter page asking for a value. I enter that and click OK.
    The viewer sends a POST request to my Servlet and is handled correctly.
    The report is then loaded.
    On the click of an item in the Group Tree it sends an Ajax POST request and I then get the following error:
    message: missing } in XML expression
    fileName: https://localhost:8080/WebApp/crystalreportviewers/allInOne.js
    lineNumber: 10
    stack: ()@:0
    eval("(\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n)")@:0
    ([object XMLHttpRequest])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    ([object Object],[object Object],[object XMLHttpRequest])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:12
    ([object XMLHttpRequest])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    ()@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    ([object XMLHttpRequest])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    ([object XMLHttpRequest])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    ([object Object],[object Event])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    ([object Event])@https://localhost:8080/WebApp/crystalreportviewers/allInOne.js:10
    name: SyntaxError
    Clicking on the Groups headers on the right hand pane work as expected. Although I notice they are not Ajax requests.
    I've spent a few days at this now and I feel like I'm running out of options but to revert back to the previous version we were using. I presume this works elsewhere so I've got to be doing something incorrectly with my setup.
    If anyone needs more info then please ask.
    Thanks,
    Patrick

    Hi Ted,
    Thanks for your reply.
    That's our own Servlet. It extends javax.servlet.http.HttpServlet
    doGet does the following stuff:
    Creates a ReportClientDocument.
    Sets the ReportAppServer to "inproc:jrc".
    Opens the report as read only.
    Gets the DBController and calls logon on it.
    Then calls replaceConnection.
    Adds some discrete param values.
    Creates a CrystalReportViewer.
    gets the report source from the report client document.
    sets the report source on the crystal report viewer.
    set own page to true.
    sets the report source in the session.
    The crystal Report Viewer then processes the Http Request.
    doPost:
    gets the report source from the session.
    creates a CrystalReportViewer.
    sets the report source on the crystal report viewer.
    set own page to true.
    The crystal Report Viewer then processes the Http Request.
    One thing I changed in there was the way the data source was changed. It used to loop through tables.
    Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
    newTable.setQualifiedName(qualifiedName);
    clientDoc.getDatabaseController().setTableLocation(origTable, newTable);
    Now it does this:
    DatabaseController dbController = clientDoc.getDatabaseController();
    dbController.logon(username, password);
    dbController.replaceConnection(new ConnectionInfo(), connectionInfo, null, DBOptions._useDefault);
    If you need more info please do let me know. Thanks for your help.
    Patrick

Maybe you are looking for

  • How can I use Active Print on my Ipad and print to my usb connected HP officejet 6110 all in one

    I was previously able to use Active Print on my Ipod to print to my usb connected HP officejet 6110 all in one.  Now, however, with my Ipad version 2 I can no longer get this to work.  Can anyone help?  Thanks.

  • Mac Book Send  more then 300 Copies of Print command to Network Printer

    Dear Experts, I am Using Mac Book with OS X. I configured the Macbook to a Laserjet Printer 4250 via Printer server (DPU300). It has been working fine for few months. Now the problem is, when i send a print command from my mac book, it prints more th

  • Spacing between letters

    HI friends, we are currently involving in scripts upgradation from 4.6c to Ecc 6.0. we are facing a small problem that there is a spacing between letters , when we upgrade the document in Ecc6.0. could u pls help me how to overcome this problem. Hope

  • IDVD 5 unexpectedly Quits at "Process Movies"

    I also am having a problem with burning a DVD as some other have had. iDVD quits as soon as it hit the Process Movies part. My configuration is this: G4 OSX.3.9 1 gig RAM iDVD 5.0.1 Using Best Quality (over 60 minutes of stuff) I have slideshows and

  • Older chat history dissapeared

    Could somebody help me to solve my problems please ? In recently January, I had enabled my blackberry messenger chat history. Then I had noticed that after a long conversation with the same person, the older messages disappeared. Is there any way to