Back to Main Report-Web Elements

Hi
Based on the Web Elements prompts selection on the report we are displaying graph and table output which is an aggregarte information. On the same report, we are also using opendocument function called DetailReport to show detail information which shows the data in different report. On the other report we have kept BacktoMainReport using open document to show the Main report with graph and table output .
Just wanted to know when we hitting on backtomain report with opendocument function, right now we are using query to go back to MainReport. Without doing that, is there any option to show the MainReport without generating query again .. i mean Report storing the information in cache,just showing that directly.
Thanks
Edited by: MUFIZA on Jan 25, 2010 8:31 PM

hi Mufiza,
if you are using cr2008 you can do this by saving a report to your enterprise system with the File > Save Data With Report option in conjunction with using the Saved Data Record Selection Formula. then every hit to that report will hit the data cache stored in the report as opposed to hitting the database.
if you are using a lower version, the only thing you can do is cache your reports using the enterprise server settings. however, if you have parameter / prompts on the report in question, then this can become difficult. you can only hit a cached instance if that parameter / prompt combination has already been viewed within the caching time period, otherwise a database hit will be done.
again, this is much easier to do with cr2008.
also, you don't necessarily have to use opendocument linking either...to create a "back to main report" between 2 reports, here's a really easy way that uses Report Part linking:
1) open up your 2 reports in the crystal reports designer (assuming that both are already stored in your enterprise system)
2) on your "main report" Insert a Text Object on to the Report Header...leave it blank
3) right click on the new Text Object and choose Copy
4) on your 2nd report, Insert a Text Object on the Report Header and type in "Back to Main Report"
5) right click on this new Text Object and choose Format Text > Hyperlink > Another Report Object and then Paste...this will paste the Report Part info from the Main Report into this 2nd report
after saving the reports you can test the hyperlink in your enterprise viewer. for more info on Report Park linking see your online help in the Crystal Reports designer.
cheers,
jw

Similar Messages

  • Crystal Reports Web Elements - database write back question

    Hi,
    I have a question about Web Elements. In description of them on SAP site it says they can provide "write-backs to the database". This is something I would really like to see. I have a scenario:
    User sees a long report and sometimes she needs to add a quick note that should be saved into the database. That note can be entered into WETextArea I suppose and WESubmit button click can be an event  trigger for such a write back.
    I would like to see example of such functionality on Crystal Report rpt file.
    Please advise if anybody knows, I would highly appreciate your assistance.
    Regards, Grettir

    hello,
    webelements can be used for the interface to database writebacks...they don't do the writebacks themselves but create the interface to make it easier for an end user to add annotations etc...these values are then passed to a second report or a subreport. using the default prompting interface makes this quite difficult.
    here's where the database writebacks are done...since version 9 of crystal reports there have been command objects. command objects have the ability to use any database syntax that is compliant with the database connection. i.e. if the syntax can go through the odbc layer then you can do this in a command in crystal reports.
    commands will honour database securities so you don't have to worry about someone dropping a table if rights have been properly assigned. a word of caution there to ensure that database rights have been done properly as you don't want all end users to have the ability to write a report that can do database updates.
    commands are also database specific so you would have to check your database online help to see what syntax would be appropriate.
    the workflow would be to have 2 reports, one that had the webelements user interface and one that did the writeback. this user interface report would have the text object and submit button and using open document syntax, the values would be passed to the 2nd report that had the command object. the command object would have a prompt that would take the values from the open document url and then use the values in the write back.
    for example,
    1) the user interface report has one text object called "t1" and one submit button.
    2) the target command object report has a prompt called "t1".
    3) the target report command object has syntax like
    INSERT INTO yourtestable
    VALUES    ('{?t1}')
    SELECT     1
    4) yourtesttable in this case has only one text field
    5) the "SELECT 1" at the end of the command ensures that a dummy value is returned after running the update...to avoid a database error
    6) this syntax would be for sql server
    this is of course a very simplified example.
    if you are at tech ed phoenix, please drop by the business objects test drive area & i will be there. i can show you a bunch of different webelements examples and write back reports etc. until you become quite bored
    i hope that this helps,
    jamie

  • Display different footer in main report of SSRS based on sub report

    I have a main report in which there are two sub reports and then those two sub reports each contain one sub-subreport.
    The following will give you an idea
    Main Report
    ----->Sub Report 1
    ------------>Sub Sub Report 1
    ----->Sub Report 2
    ------------>Sub Sub Report 1
    I am trying to display name of subreport in footer of main report depending on which subreport user is currently in. So let's say if user is viewing Sub Report 1 then it should display in footer of main report "Sub Report 1" (this is actually coming
    from database and is not like displaying some static text but for the time being ignore this)  
    If user is viewing Sub Sub Report 1 then footer of main report should say "Sub Report 1: Sub Sub Report 1"  
    After searching a bit I found out that:
    1. Sub report footer will not be shown in Main report hence this option is ruled out
    2. You cannot pass parameter from sub report to main report so this option is also ruled out
    But looks like you can use Shared Variables between Sub Report and Main Report. I tried to do this but looks like it doesn't work. Here's what I did:
    In my Sub Report 1, I declared a shared variable as below:
    Public Shared Dim sharedVariable as String = "Sub Report 1"
    Now in my Main Report I wrote the following function in code just to test if it prints it on screen on not.
    Public Function PrintSharedVariable() as String
    Return sharedVariable
    End Function
    But when I run this report, it shows error that sharedVariable is not declared in Main Report. How do I use shared variables and will it work in my case?

    Hi Frank,
    According to your description, you want to show the subreport name in the main report. Right?
    In Reporting Services, all the custom code is only work for the current report. The sharedVariable you created in subreport can't be used in main report. That's the reason why it throws the error because there's no sharedVariable in main report. For your
    requirement, the most effective workaround is having a textbox with go to report Action and passing the report name as parameter back to main report.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Crystal Reports XI Web Elements - populate WESelect element values from database field

    <p>Hi,</p><p>I am using Web Elements with Crystal Reports XI. I need to know how to populate the ElementValues and ElementDisplays arguments of the WESelect function from a database field. </p><p>In the function expert when I click on the ElementsValues and ElementDisplays values a drop down appears which will let me select a field or formula. However, when I try saving and leaving the formula workshop an error message is generated.</p><p> "A subscript must be between 1 and the size of the array".</p><p>I assume this is because the WESelect function is looking for the "|" separator in the ElementValues and ElementDisplays arguments.</p><p>Please advise.</p><p>Thanks</p>

    hello,Â
    in the webelements.zip download you should find a DCP report which shows the method for "rolling up" data using a subreport and passing these to a select control using shared variables.
    basically a string running total rolls up the values at run time and character separates them for use by the controls. for any type of select (drop down menu etc.) controls all of the values have to be made available before the main report is run so that's why you use this techique. you can think of it this way...instead of having an asp page that runs a database query and then populates a javascript array for the control, the subreport rolls up the values and passes them to the control.
    other types of controls that you wish to place directly on a group header or details section can be run off of main report fields or formulae...e.g. you can place a checkbox control on the details section without having to roll up the data in advance.
    by just putting a field name in the parameter for a select control, you will only get one value per control.
    i hope that this makes sense as it takes a bit to get used to at first,
    jamie

  • Add web element in Crystal report for SAP system

    Hi all,
    I have added web element in Crystal report for SAP system (BI or R/3) . But it does not show the control. It shows only scipt.It does not render the HTML.
    But if I add the webelement for Excel sheet ,It shows the control.
    How can I add web element for SAP System? Can't we use web controls in SAP system ?
    Help me in this regard.

    Hi All,
    i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
    OS: MS Windows 7 SP1
    SAP Business One 8.82 pl7
    Crystal report 2011
    Crystal report integration package installed under B1_SHare/Client
    But still the problem persist on the workstation.
    Please help me solve this problem.
    Thank you,
    ana

  • Web Elements in Crystal Reports on BOE XIr2

    <p>Hi</p><p>I am trying to set up my crystal report with multiple web elements controls and had a few questions.  Any assitance would be appreciated:</p><p>1) I have set up a radio button control and two drop down controls in my report.  When I post the report to BOE and view it in Infoview, I still see the initial parameter page pop up before getting to the report.  I have default values for each of the parameters and would like the report to bypass the parameter page and use the default values.  Once in the report, I am able to change the parameter values by using the web elements controls.  Any suggestions to get rid of the parameter page?</p><p>2) I also need to set up a hierarchical set of controls in the report.  I would like my radio button to be at the highest level and have the drop down box data be controlled by the radio button selection. How can I set this up?</p><p>3) Radio button - dynamic labels: I&#39;ve done this with a drop down box where the data gets populated from the result set data.  I was hoping to do that with a radio button as well, where the number of radio buttons and labels get dynamically generated based on the number of values in a column. </p><p> Appreciate any help with these.</p><p>Thanks<br />AJ</p>

    <p>hello AJ,</p><p>1) good question. once you&#39;ve built a custom page you never want to see that default prompt page again. what you should do is publish a hyperlink to your CMC that is an opendocument link with default prompt values to your report containing the controls. then hide the report itself in a folder that the end users can&#39;t see. this way only the hyperlink is available and no one will see that prompt page again.</p><p>2) if you open up the webelementsdcp.rpt from the webelements.zip folder, this is an example of heirarchical controls. for the first control in the ElementSet, substitute the WESelectCascade for a radio button control and you&#39;ll get the result you&#39;re looking for.</p><p>3) see #2...once you&#39;ve done the substitution above, the radio button will be using the same live data that the cascading select menu did.</p><p>cheers,</p><p>jamie</p>

  • Pass a value from a sub report back to a main report

    This may not be possible but i though i would see if i had any options.
    I have a main report with sales data and a sub report with budget data in the footer. Neither are linked to each other as i do not have a common field.
    I was hoping to bring a value through from the sub report to the main report or vice versa for a calculation. Its just one calc to work out the percent of sales against budget. sales/budget total.
    stuck!
    Any help would be appreciated.

    Thanks for the reply but this has not worked.
    I created a formula field on the main report HEADER @myValue with:
    Whileprintingrecords;
    Shared numbervar myValue:=0;
    Then I created a formula field in the sub report @myValue with:
    Whileprintingrecords;
    Shared numbervar myValue;
    myValue:= {@Budget-Month};
    @budget-month being the field i want to pass through to the main report.
    I placed this formula in the same section as the @budget-month formula field which is in the report footer
    Then i created a formula field @AVG, added it to a new section below the current fields and used the below
    Whileprintingrecords;
    Shared numbervar myValue;
    //calculation using MyValue
    {@myValue}/{@Sales Total}
    I get an error with the @myValue part in this formula "a number or currency amount is required here"
    I did have to change the Shared number from your formula to shared numbervar as number was not accepted. Does that matter?

  • Navigation button and Web Elements with Crystal XIr2

    I'm very new to Web Elements.  I have a Crystal XI report that contains several subreports, each on a new page.  Is it possible to place forward and back buttons on the report for better navigation.  From this forum I here much talk about using the hyperlinks.  Are navigation buttons possible?
    Thanks in advance

    hello...actually that would just be subreport linking...i know...too many linking methods to keep track of  
    after reading what you wish to do (drill into a subreport and then try to get back to the main report) this will not be possible with report part linking...it only works if you are not drilled into a subreport. report part linking can be used to link back and forth between main report parts...for example you can put a text object on a report footer to bring the end user back to the report header...again, without reposting the report.
    in your case you'll want to use opendocument linking to get back to the report. create a link that will repost the same report. or if you want a button, you can use webelements to do that. a simple formula example would be
    stringvar path:=
    WETargetPath("rpt" , "Name", "yourreportsname", "");
    WESubmitButton ("start over", path, "")

  • Year in drop down appears  using web elements as decimal

    Year field in database as number. I used crystal web element and deployed report in Infoview. But LOV for Year appear as decimal eg: 2,011.00. How to convert to number format as eg: 2011

    Hi,
    I am using the below code in sub report:
    stringvar field4:=left(replace(cstr({AllData.SLS_YR}),",",""),4);
    And using the below code in main report
    WESelect ("Year", P1L4,P1L4,cstr(year(CurrentDate)),MultiSelectfont)
    I am getting drop down with out decimals but current year is not appearing on top instead 2010 appears in infoview.
    Any help appreciated.

  • WEB Elements Usage

    <p>Can WEB elements be used by reports that are not viewed through Infoview?  For example a report being produced via a .NET application?  If so are there examples of this available? </p>

    hello,Â
    any html Crystal Reports viewer that can display passthrough HTML should be okay to use this function suite. viewers such as active x will not work.Â
    in order for the controls to pass the proper context from main to target report, opendocument syntax must be supported by your environment.
    even if you are using the business objects viewers, you do not need to present infoview to the end user...by creating a favourite that points to a "portal" report (i.e. a main report that has links, tree menus, tab menus that open up a report within an iframe or in a new window...) you can bypass infoview altogether. for example, if i have a report, webelementsdemoportal, i can use a favourite to access that report and not see any of the infoview wrapper using opendocument syntax similar to below...
    [http://machine:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=rpt&sIDType=Name&sDocName=WebElementsDemoPortal | http://machine:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=rpt&sIDType=Name&sDocName=WebElementsDemoPortal]
    watch in the next week or so for a package called "Crystal Reports Web Pack" which will have a portal example that uses the xtreme sample reports. there will also be an interactive quadrant report, and a yahoo maps integration report.
    i'm not familiar with any .net examples nor have i tried this. one main purpose of building the function suite was to allow the report developer to develop more aspects of their web application within crystal reports and without an additional development tool...to create things like simple reporting portals, jump pages, custom parameter pages, embedded controls, etc.
    let me know if it works out in your environment as i am curious.
    cheers, jamie

  • Web elements installation on 3.1

    Can anyone supply the installation instructions for the server for Web elements on a BOXI 3.1 server

    hi Brian, sorry for the delay in getting a response to you. please see the following....
    STEPS
    1) Open the following file
    C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Web Content\InfoViewApp\CrystalReports\web.config
    2) **** Make a back up (copy) of the above file ***
    3) change the web.config file so that it looks like the "AFTER" section below
    BEFORE
        <configSections>
              <section name="CrystalReports" type="System.Configuration.NameValueFileSectionHandler,System,Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />          
         </configSections>
         <CrystalReports>
                   <add key="path.dhtmlViewer" value="/crystalreportviewers12" />     
         </CrystalReports>
    AFTER
        <configSections>
              <section name="CrystalReports" type="System.Configuration.NameValueFileSectionHandler,System,Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />          
              <sectionGroup name="businessObjects">
                   <sectionGroup name="crystalReports">          
                        <section name="crystalReportViewer" type="System.Configuration.NameValueFileSectionHandler,System,Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                          </section>
                   </sectionGroup>
              </sectionGroup>
         </configSections>
         <CrystalReports>
                   <add key="path.dhtmlViewer" value="/crystalreportviewers12" />
         </CrystalReports>
         <businessObjects>
              <crystalReports>
                     <crystalReportViewer>
                            <add key="EncodeHtmlForSingleLineFieldObjects" value="false"/>
                     </crystalReportViewer>
              </crystalReports>
         </businessObjects>
    4) save the web.config file and test a report which contains HTML...e.g. a report with a formula like '<html> </html>'

  • Implementing caascading prompts using web elements

    I am implementing caascading prompts using web elements for two dropdowns PL and MPLl. If a value is selected
    from PL corresponding values are selected from MPL.
    I am using following code in sub report
    1) shared stringvar PL;
    if instr(PL, field1 + "|") = 0 then PL := PL + field1 + "|";
    2) shared stringvar MPL;
    if instr(MPL,"||" + field1) = 0 then MPL:= MPL + "||" + field1 + "|";
    if instr(MPL, field2 + "|") = 0 then MPL:= MPL + field2 + "|";
    3)
    shared stringvar PL:= PL[1 to length(PL)-1];
    shared stringvar MPL:= MPL[1 to length(MPL)-1]; MPL:= replace(MPL, "|||", "||");
    I am using following code in Main report
    1) whileprintingrecords;
    shared stringvar MultiSelectfont;
    shared stringvar PL;
    WESelectCascade ("Product_Line", PL, "Product_Line|MPL", {?Product_Line}, "ALL", true, "4.25cm", MultiSelectfont, "", "");
    2)whileprintingrecords;
    shared stringvar MultiSelectfont;
    shared stringvar MPL;
    WESelectCascade ("MPL", MPL, "Product_Line|MPL", {?MPL}, "ALL", true, "4.25cm",MultiSelectfont, "", "");
    PL has 3 values {ED,Motors, services} ED has 8 values for MPL, Motors has 2 values for  corresponding MPL and services has 2 values for corresponding MPL.  when ED is selected in PL dropdown it is giving 6 values in MPL drop down instead of 8 values.   when Motors is selected in PL dropdown it is giving 2 values in MPL drop down which is correct.   when Services is selected in PL dropdown it is giving 4 values in MPL drop down instead of 2 values.   2 values from services and 2 values from ED. i.e. First selection remaining 2 values are added to last selection i.e. services.
    Any Ideas appreciated

    what are the values of the 2 shared variables?
    i.e. if you un-suppress the formulae in the subreport that generate the 2 shared variables, then copy and paste using the Further Markup Possibilities > Markup/Result > code tags (to the right of the Message)  so that we can see the entire code.
    what could be happening is that there are duplicate values in the 2nd level...each value has to be unique. if they are not unique look into using the Ext (extended) cascading sets where a Display and a Value are used.

  • Web Elements

    Hi Webelements Masters,
    i am using the crystal with WEBELEMENTS...I have managed the webelemnts on to my report....but i actually struggling to connect. ex : i have a submit button or radio button or check box how can i link them?
    ex : i have submit button : when i click on it i want another report to display...but i dont get instead it says path is incorrect?
    stringvar path:= WETargetPath ("rpt", "Name", "jcalc", "weWindow=New");
    WESubmitButton ("update", path, "")
    am new to the web elements...
    pls looking for ur feed back.
    thank

    hello,
    on your report you should have a formula that contains a WEBuilder function. in this function, there is a "debug" mode that is either 1, 2, or 3.
    1) if you set it to 2, then when you press the submit button, an alert popup will appear that has the URL that is created by webelements. this uses opendocument syntax.
    2) you can write this URL down and then paste it into a new browser window and see if the path is correct there. most likely it will return the same error.
    3) you should then go into the Launchpad / InfoView portal and find the "jcalc" report to see if the name is correct. you may wish to change the path to use an ID instead of a name.
    i hope this helps,
    jamie

  • How to develp a subreport in the same page of the main report and processed when is called

    SSRS 2012
    Hi guys,
    I am developing a report that includes a subreport.
    therefore The report is made up by 2 sections:
    1) Show a grid (several rows - may be 100 or more - and some columns). It represent high level info  (Each row represent a specific item)
    2) The user click on a Row/column (eg: Item1, to see details that must be shown as graph.
    Here the problem: Searching info about SSRS reporting for subreports, drilldown, nested report and so on, no ones accomplish the requirements for the following reasons:
    1) Subreports: NOT open in the same page. The user must <go back> to see detail for other items, such as Item 2....
    2) Nested and DrillDown: Process data as the Main report (they are hidden and displayed after user action). In my case this leads to performance problem, because: if the main report has 200 objects (it means 200 graphs processed and hidden at the same time
    for the main reports).
    3) DrillThrough and Subreport: The detail data are processed only when the user select the interested item in the main report. Here the problem: the report is shown externally.
    Please, it there any possibility to have a subreport (or anything else) to be executed in the same report as the main report and processed only when the user make action?
    Thanks for your help.

    Hi Fasttrack2,
    According to your description, there is a main report with more than 100 rows of summary information, when users click the item of the row, the report need to jump to detail information shows as graph. The problem you are facing is that you are not sure
    subreport, drilldown or drillthrough report should be used? You hope to set display detail information in the main report and keep high performance of report.
    In Reporting Services, each subreport instance is a separate query execution and a separate report processing task. Subreports are recommended when there are just a few subreport instances. We should not use subreports inside a group when there are many
    group instances, instead, consider using drillthrough reports. Drilldown reports process all data even when the data is first hidden. In order to improve the performance of the report, we can split drilldown reports into parameterized drillthrough reports,
    because Drillthrough reports do not run until a user clicks the drillthrough link in the main report.
    In this case, we can consider using drilldown or drillthrough report. In drilldown report, when we click a plus or minus button to expand or collapse a section of a report, the detail data will be displayed in place. By using drillthrough report, when we
    click the link in the main report, the detail data will be displayed, we can come back to the main report by click return button in the drillthrough report.
    Reference:
    Troubleshooting Reports: Report Performance
    Drillthrough, Drilldown, Subreports, and Nested Data Regions
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • 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

Maybe you are looking for

  • Need To Return Calendar Events For Current Day

    Hello, I have a calendar which includes seperate start and end date fields. I need to write a query that will return events for each day in a month, but I need to be mindful of the fact that some events span multiple days. Here is my query so far whi

  • ICloud is messing with my phone and now iStore says my card doesn't work.

    Okay. Where do I begin. I feel like a crazy person, Anyway. So all of this started when I got my MacBook Pro. I had just got a new e-mail so of course I want to update my iCloud account with the new e-mail and a new password. Seems easy enough but NO

  • 30 gig Video Died

    I have a new 30 gig Video iPod 1 week old, and it was working fine. I plugged it in to download some music and the compter did not see it and the screen on the iPod went dark and started to make clicking sounds, like it is spinning up. It will not re

  • I accidentally deleted a history link that enables "friends" to be listed in Farmville. How can I get it back?

    I was deleting a link in the history list that enabled a specific gift claim in Farmville when I was installing Firefox 4. It apparently deleted the whole link for gifting and the listing of friends in Farmville and in Dragons of Atlantis. I cannot p

  • CISCO - Unsolved problems

    I am very disappointed with CISCO, do not know say whether the company entered the Brazilian market to compete with expensive products and low quality. Lately acquired a 5 CISCO products for personal use and for my clients, one of them had no solutio