Date Parameters in Viewer  2008

Post Author: willywig
CA Forum: Crystal Reports
Date Parameters in the 2008 viewer (vs2005) are not working, It will not even prompt for them unless i throw another parameter in the report. And when I do put them in there it ignors them. Am I doing something wrong or is this a MAJOR bug in the viewer?

Post Author: willywig
CA Forum: Crystal Reports
Well after working on this I discovered it is the upgrade which does not upgrade all the references.  I removed the viewer then added it and it worked...

Similar Messages

  • Date Parameters in 2008 Viewer

    Post Author: willywig
    CA Forum: .NET
    Date Parameters in the 2008 viewer (vs2005) are not working, It will not even prompt for them unless i throw another parameter in the report. And when I do put them in there it ignors them. Am I doing something wrong or is this a MAJOR bug in the viewer?

    Post Author: willywig
    CA Forum: .NET
    Hmmm this is not just Date parameters no Parameters will work in a record select, when added through the viewer, making the viewer Useless for running reports that require user parameters.  Do the developers even test things before they release them here

  • Cascading Dynamic Parameters Do Not Work In Crystal Viewer 2008?

    I have generated a report with Crystal Reports 2008 that uses a dynamic cascading parameter. I work in waste management and the report I create in Crystal is used as a "template" with the tonnages collected from all of our customers. Our less technically minded employees can then open this report with Crystal Reports Viewer 2008, use the drop down menus to select only the customer they need a report for and then export this to PDF for delivery.
    The report as designed works perfectly in Crystal Reports, but the parameter does not work in Crystal Viewer.
    Some of our customers have more than one physical location that we service. The cascading dynamic parameter in my report allows you to select the customer name, and then it only shows the locations linked to that customer, so the end user can select only the relevant location(s) for the report. The cascading parameter is dynamic and allows multiple selections, and is linked to a Saved Data formula. The report is saved with the data.
    When the report is opened in Viewer, one of two things happens. If the report is saved in Crystal Reports and a specific customer/location is selected, then ONLY those selected customer/locations are available in the Viewer. If ALL the customers/locations are selected in Crystal Reports and saved, then in the Viewer they are all available, but selecting one customer does NOT narrow down the locations (i.e. it does not "cascade") and instead ALL of the locations are available even if they do not apply to the customer.
    If I use a single dynamic parameter and select ALL of the customers (for example), then when this is opened in Crystal Viewer all of the customers are available from the parameters drop down and the report works fine. As soon as this is tried with a cascading parameter however, Crystal Viewer falls down.
    Does anyone know of a workaround to this or if there is something I am doing wrong?

    I am using the free Crystal Report 2008 Viewer along with designing reports with Crytal Reports ver 12.3. With a test file from SAP called "Interactive Parameters", the parameter feature works to refresh the report. The parameters that are supplied in the sample report work with Viewer. They show up under the parameter list in the parameter side panel in Viewer and are available to make record selections. When I add a parameter to the sample report in Crystal 2008 and then view the report in Viewer, my parameters are unavalable for record selection while the original parameters remain available. Futher, my parameters are displayed under a section called "Current Data Set" in the Parameter side panel, while the selectable parameters are displayed under the "Parameter" section in the parameter side panel. There must be a setting that is treating the parameters I create differently form the parameters created in the original sample report. Any help would be appreciated.

  • Database query using report parameters in Report Viewer 2008 and CR-XI

    Hi - I have written a report for in-house use on an Access database. The report uses parameters to filter the record selection for reporting. The report operates fine in Crystal XI, but in Crystal Report Viewer 2008, the parameters are not shown and appear to be inaccessible. Is there a way to query the database in CRV2008, as opposed to simply showing the data that was saved from CR-XI in the report? Would I have to use the Crystal Server to do this? Is there a no-cost solution that I could use instead of CRV2008 for such functionality?
    Thanks - Barney

    Hi Barney,
    As noted CRV is for reports with saved data only, no prompting allowed. I'll move this post to the OnDemand forums, possibly they have suggestions a s work around.
    You should call our Sales team and describe your situation, possibly they have a low cost solution for you.
    If you have a .NET or Java developer available you could always write and host your own WEB app that would be simple to use and should not take to much to do.
    We have samples that you could use so most of the work is done for you.
    Thank you
    Don
    CORRECTION: Report Viewer is handled by the Report Design Forum so moving the psot back
    Edited by: Don Williams on Jan 4, 2010 9:42 AM

  • Can we get data from business views  in CR 2008/XI?

    Hi All,
    Can we get data from business views  in CR 2008/XI?
    If its possible, pls let us know how to get connect with Business View in both of these versions and what is the tool that we have to use to create Business Views.
    Thank you,
    Krishna Pingali

    Hi Krishna,
    Crystal Reports/BusinessObjects Enterprise ( BOE ) Business Views can only be created using the BV build which comes with BOE and installed using the Work Station installer for BOE. for both XI and 2008.
    You cannot mix these two versions on the same PC not can one talk to the other, the BV designer must match the same version as BOE. XI ( version 11.0 ) is no longer available but if you mean XI R2 ( version 11.5 ) then it still is.
    It's not completely clear which Business View you are referring to? BOE has a Business View Designer so not sure if this is just a naming problem or not? If you are referring to the BOE Business View Designer then the above is true. If your reference is about some other BV designer or data source then you need to clarify.
    Contact our Sales department for pricing and availability.
    Thank you
    Don

  • Compare Date Parameters on Report Viewer

    Visual Studio 2010 (VB.NET)
    Crystal Reports 2010
    I have two date parameters in my report viewer (Start and End dates). When the user clicks the "Apply" button in the parameter panel is there any way to display a dialog box if the Start date is after the End date?
    I don't see any event for the "Apply" button, just the "Refresh" button (the ReportRefresh event).

    I actually got a hack job workaround to get this to work without having to write my own parameter panel or edit any of my 150+ reports:
    At the form load I can loop through the controls in the crystal viewer until I find the toolbar that holds the "Apply" button and add an event handler to it's ButtonClick event.
    I am using VB.NET:
    'Because there is no event handler for the "Apply" button in the parameter panel,
    'loop through the controls until we find the toolbar that holds that button. We can then
    'add an event handler to the button click event so we can check if the "Apply" button is clicked.
    For Each ctl As Control In CurrentCrystalReportViewer.Controls
        If ctl.Name = "InteractiveParameterPanel" Then
            'This control is the parameter panel
            For Each subCtl As Control In ctl.Controls
                If TypeOf subCtl Is Windows.Forms.ToolBar Then
                    'This controls is the toolbar that holds the "Apply" and "Delete" parameter buttons
                    Dim parmTool As ToolBar = subCtl
                    'add event handle so we can catch when a button is clicked
                    AddHandler parmTool.ButtonClick, AddressOf ParmToolBar_ButtonClick
                    Exit For
                End If
            Next
        End If
    Next
    When the "Apply" button is clicked this event will then be called:
    Private Sub ParmToolBar_ButtonClick(ByVal sender As Object, ByVal e As ToolBarButtonClickEventArgs)
            If e.Button.Text = "Apply" Then
                'check if there are date parameters
                If CurrentCrystalReportViewer.ParameterFieldInfo.Count > 0 Then
                      'loop through and find the start and end date parameters to compare the dates.
                End If
            End If
    End Sub

  • Crystal Reports Viewer 2008 and parameter fields

    Hello,
    I saw this product on the main Crystal Reports site this afternoon and decided to download it to try it out.  I have a number of users who would benefit from being able to preview their report results prior to actually running the report.  This seems like the perfect product.  I have a large number of Crystal Reports which were created in Crystal version XI.  I also downloaded the free 30 day version of Crystal Reports 2008 yesterday to see what new features are there.
    While testing Crystal Reports Viewer, I tried to run one of my reports which needs a parameter to run properly (account number).  This type of parameter is needed for probably 98% of this business' reports. 
    The problem: Crystal Reports Viewer does not prompt me to input the parameter.  In my actual Crystal Report, I had the box "Save Data with Report' left unchecked, as the account number frequently changes.  However, if that box is left unchecked, Crystal Reports Viewer will give me the error message "No Saved Data.  This report file does not contain saved data and cannot be viewed.  To get data into the report, please open and re-save it in the Crystal Reports designer application with the "Save Data with Report" option selected."
    Thinking that possibly it was the version of Crystal Reports in which the report was created (XI), I downloaded the free trial of Crystal 2008 and created a very simple test report with one parameter for account number where the account number is retrieved from our database.  And I am having the same trouble. 
    The "Help" section of Crystal Reports Viewer tells me that I can select my parameters in the parameter panel.  I do not see anything in my parameter panel other than the words "Current Data Set Last refreshed: 04/12/10 2:58 PM".  The help tells me that I can "select the parameter directly in this panel by entering a new value", but there is no option to do so.
    Any help would be appreciated.
    thanks,
    Noel

    What I've learned is that I was originally using Crystal Viewer XI and upon opening it I received a message indicating there was an update.
    I ran the update which put me on Crystal Viewer 2008.
    Since then I have not been able to refresh my screen to bring up the parameters.
    See the attached forum for another post concerning this same issue. 
    Paramter Prompts in Crystal Viewer

  • Error when using Date Parameters...

    Hi everybody,
    I have a little issue.
    Ever since I upgraded my CRXI R2 to SP4 I've had a little problem using date parameters.
    The little calendar icon next to the parameter field no longer works.
    When I click it I get the following error message:
    An error has occurred in the script on this page.
    Line:       79
    Char:      1
    Error:      Object Expected
    Code:      0
    URL:       file://C:\Documents and Settings\jlong\Local Settings\Temp\prompting1.html
    I'm thinking this is probable a quick registry fix, but I have no idea where to start looking.
    Hopefully one of you CR guru's knows the answer.
    Thanks in advance,
    Jason

    It seems you are having a scripting issue.
    Go onto the Internet explorer settings (internet options under control panel)
    click on security and then click on Internet and then Custom tab.
    Scroll right down where it says Scripting and enable it.
    That should resolve the issue.
    Here is the full list of browsers with scripting options:
    Windows Internet Explorer
    (all versions except Pocket Internet Explorer)
    Note To allow scripting on this Web site only, and to leave scripting disabled in the Internet zone, add this Web site to the Trusted sites zone.
    1. On the Tools menu, click Internet Options, and then click the Security tab
    2. Click the Internet zone.
    3. If you do not have to customize your Internet security settings, click Default Level. Then do step 4
    If you have to customize your Internet security settings, follow these steps:
    a. Click Custom Level
    b. In the Security Settings u2013 Internet Zone dialog box, click Enable for Active Scripting in the Scripting section.
    4. Click the Back button to return to the previous page, and then click the Refresh button to run scripts.
    ===========
    Mozilla Corporationu2019s Firefox version 2
    1. On the Tools menu, click Options.
    2. On the Content tab, click to select the Enable JavaScript check box.
    3. Click the Go back one page button to return to the previous page, and then click the Reload current page button to run scripts.
    ===========
    Opera Softwareu2019s Opera version 9
    1. On the Tools menu, click Preferences.
    2. On the Advanced tab, click Content.
    3. Click to select the Enable JavaScript check box, and then click OK.
    4. Click the Back button to return to the previous page, and then click the Reload button to run scripts.
    ===========
    Netscape browsers
    1. Select Edit, Preferences,Advanced
    2. Click to select Enable JavaScript option
    Hope this helps.
    Regards
    Jehanzeb
    Edited by: Jehanzeb Navid on Jul 28, 2008 4:38 PM
    Ok I think I got this totally wrong. this isn't what you are looking for.
    Sorry!!! can't delete this reply arggghh!!!
    Edited by: Jehanzeb Navid on Jul 28, 2008 4:40 PM
    Maybe this might help?
    Remove Web Customization
    If multiple folders are causing the script error, remove Web customization from any folder that generates the error message.
    To remove customization from a folder, use the following steps:
    1. Open the appropriate folder.
    2. On the View menu, click Customize This Folder, click Remove Customization, click Next, and then click Finish.
    3. Close the folder.

  • Problem while Binding multiple Parameters to View Object[Solved]

    Hello,
    I am facing problem while binding multiple parameters with different data types in View Object query. For example suppose I have following query in my view object.
    SELECT Header.ADDED_BY
    Header.BATCH_ID,
    FROM BATCH_HEADER Header
    WHERE :1='deptAdmin' and Header.BATCH_ID
    in
    select batch_id from batch_header_dept_mapping where dept_id in(SELECT * FROM TABLE(CAST(:0 AS TABLE_OF_VARCHAR)))
    I am able to pass the Bind variables of Array type for : 0 , using Steve's ArrayOfStringDomain example. (ArrayOfStringDomain) .
    But after passing value to second bind parameter ie.. :1 .
    I am getting the error as follows.
    ## Detail 0 ##
    java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected - got CHAR.
    I tried to set
    setWhereClauseParam(1,11); // 11 is Number
    setWhereClauseParam(0,arr); // arr is arr = new Array(descriptor,conn,deptid); for in parameter.
    But of no use , Please let me know if any thing missing form me or have any another solutions. Also please provide me any example if have.
    Thank you,
    Sandeep
    Edited by: user11187811 on Oct 23, 2009 7:27 AM
    Edited by: user11187811 on Oct 26, 2009 12:52 AM
    Edited by: user11187811 on Oct 26, 2009 6:51 AM

    hi.
    but when using non-Oracle named parameter binding styles as you've done (ie. , :1), regardless of what number you give each bind variable, they are sequenced 0, 1, 2 etc. As such your bind variable :1 is the 0th parameter, and your bind variable  is the 1st parameter.Your statment is correct.
    :1 i used was actually on 0th position and :0 was on 1 position. Like you said in sequence 0,1,2 etc. Now i get the answer and i corrected My mistake by assigning right values to right binding variable. and problem just solve.
    Thanks Chris.

  • How to use CR Viewer 2008 to open a report created in CR 2008?

    I have CR Developer 2008 version 12.0.0.683 that I am using to create a report whose data source is through the iHistorian OLE DB connector. I can preview the report in the Developer, but as soon as I use Crystal Reports viewer 2008 (12.2.0.r325)to open the report, I get the following error: "An error occured trying to load the report: The field size is not allowed to be negative:
    "-1".-----Error code:-2147215356 Error code n".
    CR viewer 2008 is able to open the samples reports, but not the report I create.
    Any help would be appreciated

    Hi Shweta,
    I am not using a .NET application. I not using Visual Basic either. I just have Proficy Historian 3.1 collecting data from an iFix tag, and i am reading that data into CR 2008 designer.
    I think that the viewer is unable some how to connect to my server with the iHistorian OLE DB. I tried adding the server in the viewer "server configuration" but no luck. I was able to view the report I created on crystalreports.com. So i believe that the problem is with Crystal reports viewer 2008 connecting to my data source server.
    Thanks,
    Abdou

  • How can I get Crystal Report Viewer 2008 to view boe xi r2 sp4 rpts

    we're getting an error when trying to open a report generated out of boe xi r2 sp4....the report does have "save data" with report.... I send to myself via email, save the rpt but when I try to open on a machine with viewer installed....it tries and gets to the end and presents an 'unexpected error' with detail:
    any suggestions? I put in case# 1020775
    Product Info:
    Crystal Reports Viewer 2008
    com.businessobjects.crystalreports.viewer.shell.application
    JVM Info:
    1.6.0_02-b05
    Sun Microsystems Inc.
    Java HotSpot(TM) Client VM
    System Configuration:
    win32
    x86
    en_US
    Plug-ins:
    org.eclipse.osgi version: 3.4.0.v20080605-1900
    org.eclipse.equinox.common version: 3.4.0.v20080421-2006
    org.eclipse.update.configurator version: 3.2.200.v20080417
    org.eclipse.core.runtime version: 3.4.0.v20080512
    com.businessobjects.crystalreports.designer.BOEIntegration.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration version: 12.2.0.r325
    com.businessobjects.crystalreports.boesdk.libs version: 12.0.0
    com.businessobjects.crystalreports.boesdk version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration version: 12.2.0.r325
    com.businessobjects.crystalreports.crdcsdk.libs version: 12.0.0
    com.businessobjects.crystalreports.crdcsdk version: 12.2.0.r325
    com.businessobjects.crystalreports.crsdk.libs version: 12.2.0.r325
    com.businessobjects.crystalreports.crsdk version: 12.2.0.r325
    com.businessobjects.GEFUtilities.cs version: 12.2.0.r325
    com.businessobjects.GEFUtilities.de version: 12.2.0.r325
    com.businessobjects.GEFUtilities.en version: 12.2.0.r325
    com.businessobjects.GEFUtilities.es version: 12.2.0.r325
    com.businessobjects.GEFUtilities.fr version: 12.2.0.r325
    com.businessobjects.GEFUtilities.hu version: 12.2.0.r325
    com.businessobjects.GEFUtilities.it version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ja version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ko version: 12.2.0.r325
    com.businessobjects.GEFUtilities.nl version: 12.2.0.r325
    com.businessobjects.GEFUtilities.pl version: 12.2.0.r325
    com.businessobjects.GEFUtilities.pt version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ru version: 12.2.0.r325
    com.businessobjects.GEFUtilities.sv version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.GEFUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase version: 12.2.0.r325
    com.businessobjects.crystalreports.platformext.win32 version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.cs version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.de version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.en version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.es version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.fr version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.hu version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.it version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ja version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ko version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.nl version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.pl version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.pt version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ru version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.sv version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib version: 12.2.0.r325
    com.businessobjects.SWTUtilities.cs version: 12.2.0.r325
    com.businessobjects.SWTUtilities.de version: 12.2.0.r325
    com.businessobjects.SWTUtilities.en version: 12.2.0.r325
    com.businessobjects.SWTUtilities.es version: 12.2.0.r325
    com.businessobjects.SWTUtilities.fr version: 12.2.0.r325
    com.businessobjects.SWTUtilities.hu version: 12.2.0.r325
    com.businessobjects.SWTUtilities.it version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ja version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ko version: 12.2.0.r325
    com.businessobjects.SWTUtilities.nl version: 12.2.0.r325
    com.businessobjects.SWTUtilities.pl version: 12.2.0.r325
    com.businessobjects.SWTUtilities.pt version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ru version: 12.2.0.r325
    com.businessobjects.SWTUtilities.sv version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.SWTUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.de version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.en version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.es version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.it version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.de version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.en version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.es version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.it version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.viewershellext.win32 version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell version: 12.2.0.r325
    com.businessobjects.ui.controls.de version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.en version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.es version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.fr version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.it version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ja version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ko version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.nl version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.pl version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.pt version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ru version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.sv version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_HK version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_MO version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_MY version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_TW version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls version: 12.0.0.r325_v20080731
    com.ibm.icu version: 3.8.1.v20080530
    org.eclipse.core.commands version: 3.4.0.I20080509-2000
    org.eclipse.core.contenttype version: 3.3.0.v20080604-1400
    org.eclipse.core.databinding version: 1.1.0.I20080527-2000
    org.eclipse.core.expressions version: 3.4.0.v20080603-2000
    org.eclipse.core.jobs version: 3.4.0.v20080512
    org.eclipse.core.runtime.compatibility.auth version: 3.2.100.v20070502
    org.eclipse.draw2d version: 3.4.0.v20080529
    org.eclipse.equinox.app version: 1.1.0.v20080421-2006
    org.eclipse.equinox.launcher.win32.win32.x86 version: 1.0.100.v20080509-1800
    org.eclipse.equinox.launcher version: 1.0.100.v20080509-1800
    org.eclipse.equinox.preferences version: 3.2.200.v20080421-2006
    org.eclipse.equinox.registry version: 3.4.0.v20080516-0950
    org.eclipse.gef version: 3.4.0.v20080526
    org.eclipse.help version: 3.3.100.v20080610
    org.eclipse.jface.databinding version: 1.2.0.I20080515-2000a
    org.eclipse.jface version: 3.4.0.I20080606-1300
    org.eclipse.rcp version: 3.4.0.v20080507
    org.eclipse.swt.win32.win32.x86 version: 3.4.0.v3448f
    org.eclipse.swt version: 3.4.0.v3448f
    org.eclipse.ui.views version: 3.3.0.I20080509-2000
    org.eclipse.ui.workbench version: 3.4.0.I20080606-1300
    org.eclipse.ui version: 3.4.0.I20080610-1200
    Libraries:
    C:\Program Files\Business Objects\Crystal Reports Viewer 2008\libs\CR\us.jar version: null
    Stack Trace:
    Caused by : java.lang.IndexOutOfBoundsException
    com.crystaldecisions.reports.formulas.FieldExpression$Type.a(Unknown Source)
    com.crystaldecisions.reports.formulas.ExpressionNode.getType(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.<init>(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFRuntime.if(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFRuntime.a(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.if(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.char(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.long(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.f(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.c(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.case(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.char(Unknown Source)
    com.crystaldecisions.reports.dataengine.j.char(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.j(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
    com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
    com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.A(Unknown Source)
    com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.call(Unknown Source)
    com.businessobjects.crystalreports.designer.uibase.dialogs.ProgressMonitorDialog$6.run(Unknown Source)
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    going back to crystal viewer xi worked / resolved....

  • Error with date parameters - Object expected,  res://ieframe.dll/syntax.htm

    I am porting a report done in CR X to CR 2008, so I can distribute it to a third party. When I preview it and enter my date parameters, I get and address not found html page. When I close this page, I get an error stating that an object was expected, line 1, char 1, code 0, URL res://ieframe.dll/syntax.htm.
    The report worked great in CR X.

    start removing all parts to see what needs to be fixed up

  • Defaulting Date Parameters

    Post Author: tegage
    CA Forum: Formula
    I have many reports that allow the user to specifiy a starting and ending date range.  I would like the reports to default to all dates.  I can do this by defaulting the start date to "01-01-2000" and the end date to "12-31-2099", but then the calendar tool is useless since there is no TODAY button on the calendar tool and it picks up the default date, i.e., the users will have to do a lot of scrolling through the calendar tool.
    The other way is to make the starting and ending date parameters strings and use values like Today, This Week, This Month,....  and reolve them in the record selection formula.   This would be nice, but then if the user wants a specific date range, they don't have the calendar tool to use.
    Is there a way to take advange of the user-friendliness of string values and still have the calendar tool to use?

    Post Author: tegage
    CA Forum: Formula
    Thanks much for the response. 
    I had done exactly what you described - I had a string parameter for Today, This Week, etc and a set of date parameters - Starting and Ending Date.  But, in order to use the Starting and Ending dates in a formula, I had to provide them a default value - leaving them blank causes the record selection formula to explode.  The issue here is that the calendar tool picks up the default value instead of showing today's date. 
    I did more web surfing and found the answer on the Business Objects web site.  The solution let me do what you suggested AND keep the Starting and Ending date parameters as Date types and defaulted to blank by making them optional parameters.
    From the Business Objects web site (why isn't this stuff in the user's guide?):
    2.  Control over default values.
    3.  Request for an 'ALL' value.
    Both of requirements 2 and 3 are met with the new optional parameter feature of CR 2008.  When a parameter is flagged as 'optional', the report can execute without that value being set.  The trick here is that any formula that attempts to reference an optional parameters that doesn't have a value set will return an error.  So we've introduced the new HasValue() function which allows you to check and see if the parameter has a value. 
    This is really powerful, because now you can reference your parameters indirectly through another formula (or custom function) that checks if the parameter has a value or not.  If it does, then the formula returns the parameter value.  If it doesn't, then it can return whatever default value you wish.  So if you want the default to be the day before, or last Friday, then you can code that logic into your formula that uses HasValue to check if the parameter has a value set or not.
    Optional parameters were also intended to solve the 'All' problem.  Basically, you want a parameter to participate in a record selection formula only if it has a value.  If it doesn't, then you want that filter to be disabled.  By using optional parameters and HasValue() in your record selection (and new saved data section) formulas, you can include conditions in your filter only if the parameters in those conditions have a value.

  • Discoverer Date Parameters

    Hi,
    How can i perform for user date parameters to get the result of
    From Date To Date (2007) Sales , From To Date(2006)
    It is required in view that having sales of 2 Years 2006,2007 and the user
    need to compare sales of period in 2007 with same period in 2006
    Regards
    Hassan

    hi hassan,
    for having from-date & to-date parameters in ur report its better to create 2 parameters with the same names & define a condition using "between" option along with those parameters in discoverer itself.
    coming to comparison of 2 years data like "this year & last year" you should mention these in ur query itself like below:
    hope it will b helpful for ur report.
    all the best_Rakesh Reddy.
    SELECT A.Region,A.Account,A.Door,A.Location,A.retailer_month,A.week,SUM(A.Netretlsold_TY) as Netretlsold_TY,SUM(A.Netretlsold_LY) as Netretlsold_LY FROM
    SELECT
    NVL(TY.Region,LY.Region) as Region,
    NVL(TY.Account,LY.Account) as Account,
    NVL(TY.Door,LY.Door) as Door,
    NVL(TY.Location,LY.Location) as Location,
    NVL(TY.RETAILER_MONTH,substr(LY.RETAILER_MONTH,1,2) || to_char(to_number(substr(LY.RETAILER_MONTH,-4))+1) ) as RETAILER_MONTH,
    NVL(TY.WEEK,LY.WEEK) as Week,
    NVL(TY.Netretlsold,0) as Netretlsold_TY,
    NVL(LY.Netretlsold,0) as Netretlsold_LY
    FROM
    SDW.ST_WK_SALES_SUM_MV TY
    FULL OUTER JOIN SDW.ST_WK_SALES_SUM_MV LY
    ON
    TY.Door=LY.Door
    AND TY.RETAILER_MONTH = substr(LY.RETAILER_MONTH,1,2) || to_char(to_number(substr(LY.RETAILER_MONTH,-4))+1)
    AND TY.WEEK = LY.WEEK
    ) A
    GROUP BY A.Region,A.Account,A.Door,A.Location,A.retailer_month,A.week;

  • Passing date parameters to a custom folder

    Is there any simple way to pass date parmeters to a custom folder?

    I think I recognize a question very similar to this recently.
    And it's the same situation, in that - what do you mean by passing a date?
    I understand it to mean that you want a user - at run time - to enter a date or date range that will then return only that data from a custom folder.
    1. You could have all data returned (ie: no date conditions applied to the SQL) and then filter using the Disco tool (ie: plus, viewer, desktop).
    2. If you want to 'pass' those date parameters into the actual folder in the EUL, then there is a method that you can use using functions you write.
    3. Or you could code the actual database SQL view with some kind of hard-coded date parameters (ie: SYSDATE - 30), etc.
    Russ

Maybe you are looking for