Prompt for Parameter

Hello,
is there a way to prompt for parameter on opening report? Also, is there a control that can be placed on the report to prompt for new parameters?
Thanks

Have a look at the 3rd-party viewers listed at http://www.kenhamady.com/bookmarks.html they would all prompt for parameters directly.
To address the question about placing a parameter as a control on the report layout, there's a short video demonstrating how this is done with my DataLink Viewer software: see [video demo|http://www.milletsoftware.com/Download/DLV_Demo_Click_to_Change_Parameter/DLV_Demo_Click_to_Change_Parameter.html]

Similar Messages

  • Dynamic Parameter Prompting for Database Connection Password

    Post Author: rsharp
    CA Forum: Publishing
    Hi
    I've been finding recently that reports using dynamic parameters and published into Crystal Server prompt for the database connection password when the dynamic parameter is accessed.  Thing is, this only started happening recently for new and already existing reports with dynamic parameters and I don't know why.  In Crystal Reports the dynamic parameter can be accessed without a database connection prompt being displayed but not after publishing.  (Maybe there's a problem with the Publishing Wizard?)  Static parameters work just fine just as they always have, but I'm a bit mystified by the fact that dynamic parameters used to work (without prompting) but now they don't.  Any advice or opinion would be much appreciated.

    Post Author: amr_foci
    CA Forum: Publishing
    from the CMC you have to set the default connection or wat connection should this report use,
    go to this report in CMC, click process tab, and check the connection

  • Infoview prompts for database logon screen when updating dynamic parameter

    I have already set up initial database ID/PW for the report in CMS, but when I I tried to update my parameter to schedule the report, it is requiring the user to enter database ID/PW again........Is there a way to set this up so that the user can bypass this step since it is quite annoying?
    Thanks.

    Is your lov created Business View Manager? If it is, you can store the userid and password in the data connection your business view is based on.
    1) Start Business View Manager. Close the default screen that appears.
    2) Click View > Repository Explorer on the menu bar.
    3) Expand the Dynamic Cascading Prompts folder. Locate the "Data Connection" for the appropriate dynamic parameter. It will be in the form of <parameter_name>_DC (i.e. it will have the name of the parameter and then '_DC').
    4) Double-click the Data Connection. "Property Browser" will appear.
    5) Type the database user name and password in that Property Browser.
    6) Set the Runtime Prompt to Never Prompt.
    7) Save the changes to the Data Connection.
    The prompt for database logon information will no longer appear when changing parameter values.
    Hitomi

  • How to Disable Prompt for Command Parameter Vale

    I have a CR that uses an SQL Command for the report query. There is a parameter in the Command Where clause like the following:
    WHERE  type = '{?type}'
    The "type" parameter is also listed in the Command Parameter List. "Type" is also listed as a report parameter in the Field Explorer under Parameter Fields.
    I am sending the value of "type" to the report from an asp.net web form using the following C# in the code behind:
    string strType = "VENDOR";
    crystalReport.SetParameterValue("type", strType);
    My issue is when the report is run, it still prompts the user for type, even though I am sending a value for the type parameter to the report. Is there a way to disable the prompt for a Command Parameter value?
    I am using CR2011 and VS2010Pro.

    Hi,
    Check if you are refreshing the reportobject after setting the parameter values. if yes, comment it.
    Also create a sample applicationwith below code, drop a CR viewer on the design page and see if the issue can be reproduced.
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    public partial class _Default : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
            ReportDocument rd = new ReportDocument();
           rd.Load(Server.MapPath("Report1.rpt"));
          rd.SetParameterValue("Parameter Name", "value");
         CrystalReportViewer1.ReportSource = rd;
    - Bhushan

  • Prompt Group Text value for parameter that has cascading prompts.

    <p>Does anyone know how to get a Prompt Group Text value for parameter that has cascading prompts. C# sample would be great.</p>

    Hi Sateeesh,
             I delete main memory, but does not work. if I display prompt value in list box, it shows as text value, but in 'query prompt selector', it shows as key value. I am using SAP BO 4.0

  • Report does not prompt for parameters when SeparatePages=False

    Hi all. We are using CR2008 Basic w/SP1 along with VS2008. Within our application, reports pull up fine and prompt for parameters using the CrystalReportViewer against the web service. SeparatePages is set to True. We want to change SeparatePages to False, but when I do that any report that should prompt for parameters is not.
    The reports were created in CR 8.5. We have upgraded them to CR2008 (open, refresh, save) which has greatly increased performance. With some further testing, I've discovered that if I take a report that doesn't currently have any parameters and add one via VS2008 report designer, it WILL prompt for the parameter when I run it in our application with SeparatePages=False.
    So I'm leaning that the problem has to do with the reports originally being created in 8.5. I've tried modifying an existing report with parameters, deleting parameters and re-adding, but I still can't get these to prompt for parameters with SeparatePages=False.
    Again, these same reports prompt for parms and work fine as long as SeparatePages=True.  I'm hoping someone might be able to shed some light on this. There are over 400 reports so re-creating them from scratch under CR2008 will be a painful option
    If I need to provide any additional information just let me know. Thank you!
    Sheila

    We are still working to resolve this issue. Testing has shown that for reports that don't return a lot of data, the prompt for parameters will display. But for larger reports, we just see the hour glass and the parameter prompt never displays. It's almost like the reports are trying to return the full dataset without any paramters being passed BEFORE it will prompt for parameters. This would explain why smaller reports will prompt and larger reports never will (?). Not sure that is what is happening.  Again, with SeparatePages=True we are immediately given the parameter prompt. With SeparatePages=False we run into the issue of no prompts.
    Here's the code behind if it help:
    ReportDocument report = new ReportDocument();
    try
        String rptFileName = @"App_Data\Reports\" + Request.QueryString.GetValues(0).GetValue(0).ToString();
        log.writeLog("Loading Report: " + rptFileName);
        String rptFile = Server.MapPath(rptFileName);
        report.Load(rptFile);
        report.Refresh();
        ConnectionInfo crConnectionInfo = new ConnectionInfo();
        log.writeDebugLog("ServerName : " + rProperties.ODBCSource);
        crConnectionInfo.ServerName = rProperties.ODBCSource;
        log.writeDebugLog("DatabaseName : " + rProperties.ODBCSource);
        crConnectionInfo.DatabaseName = rProperties.ODBCSource;
        log.writeDebugLog("UserID : " + rProperties.ODBCUser);
        crConnectionInfo.UserID = rProperties.ODBCUser;
        log.writeDebugLog("Password : " + rProperties.ODBCPassword);
        crConnectionInfo.Password = rProperties.ODBCPassword;
        foreach (CrystalDecisions.CrystalReports.Engine.Table table in report.Database.Tables)
            TableLogOnInfo crTableLogOnInfo = new TableLogOnInfo();
            crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
            table.ApplyLogOnInfo(crTableLogOnInfo);
    catch (Exception err)
        log.writeLog("Error Loading Report: " + err.ToString());
        this.lblError.Text = err.ToString();
        this.ErrorTable.Visible = true;
        this.ReportTable.Visible = false;
        return;
    CrystalReportViewer1.HasCrystalLogo = false;
    CrystalReportViewer1.ReportSource = report; // _serverFileReport;

  • ADF panel does not prompt for variable defined in ADF view object.

    I have created an ADF Panel, which allows the user to run a few simple queries against an Oracle database done using ADF view objects and ADF view links and ADF application module.
    One of these queries lookup detail information about a given database object (Table, view or whatever) from dba_objects. The SQL uses a parameter (:P_OBJ_NAME) that has a default value of “Departments”. If I run the ADF application module by itself outside of the ADF panel, all works fine, it prompts me to provide a value for the parameter :P_OBJ_NAME.
    As I said the panel contains the different ADF view links including the one that should prompt the user to provide a value for :P_OBJ_NAME. When I run the panel it does not prompt me for :P_OBJ_NAME, it just uses the default defined value “departments”.
    I hope I described my problem for every one to understand. The question obviously is how do I get the ADF panel to prompt the user to provide a value for parameter :P_OBJ_NAME, my expectation was that since the sql in the view object and the application module both are designed to prompt for a value for this parameter then the panel should do just that but it does not.
    You expert input would be most appreciated.
    Thanks.
    Bobby A.
    Edited by: Babak Akbari on Aug 13, 2009 8:34 AM
    Edited by: Babak Akbari on Aug 13, 2009 11:12 AM

    The prompting for a parameter is a feature we built into the ADF Tester - it is not a default behavior you get in your application when you just place a VO on your page.
    To get something like this expend the operations node under the VO in the data control palette, and drag the "Execute with parameters" operation to your page to drop it as a parameter form.
    This will provide your user a place to fill out the parameter and press a button to execute the query.

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

  • SQLServer Reporting Services 2005 Prompts for Credentials for a trusted domain user

    Currently the report is running in the domain AAA. Users in the domain AAA are using the report.
    Another new domain BBB and an user XXX is now created and  BBB\XXX has been given Browser access. Domain AAA and BBB are trusted domains.
    After this when the user BBB\XXX logs in and access the report, before loading the report, credentials dialog is prompted, once credentials of BBB\XXX is entered, the report is loaded.
    Why the report prompts for this additional credential dialog for the trusted domain user?

    Hello,
    Did you have get two textboxes in the report parameter panel (in the left side of the "View Report" button)? The issue is occurred when the credential of the datasource is configured with “Prompt for credentials”. Please check if you configured the credential
    with "Stored Credential" of the datasource.
    Please refer to the following thread to configure the credential.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1564cd7a-6b7a-40f1-9f98-5c766ebfc63e/datasource-userid-and-password-being-asked-eachtime-when-report-is-generated?forum=sqlreportingservices
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Pop-ups for parameter value insertion don't appear

    Hi,
    I am using Web Intelligence for creating a report that allows custom parameter values to be inserted via pop-up.
    The problem is such pop-ups for parameter value insertion don't appear on the various web browsers I make use of.
    (I.E. versioni, Firefox versioni)
    Any idea on how to solve such issue?
    thanks in advance,
    SC

    I suppose that you mean query prompts, that are parameters that are asked to the user in order to filter the data.
    Which version of BOE are you using?. If you are using BOE XI R2, that problem happens when you use Java 1.6 (only when editing the document), you should use Java <=1.5 (you can check the error in the java console while you execute the report).
    I think that problem was solved in a SP (not sure which SP solves this ¿SP4?)

  • Date Prompt (for summary by date report)

    hi there,
    i just created this report to view the distribution of stocks by range of dates. I created 2 parameter fields start and end date and threw them in the report. But now i am stuck as when i upload the report with salesforce.com online i dont get a prompt to select the dates.
    any solution for this? thanks guys.
    Ankur

    Make sure the "Save data with report" option is turned off and then upload the report to crystalreports.com and it should prompt for the parameters as soon as you open the report.  Otherwise, it just loads the report with the saved data and no prompt.  Hopefully not too late to be useful.

  • Stop Crystal from Prompting for Parameters

    Hi there,
    I am trying to stop Crystal from prompting for a parameter that has the Optional Prompt flag set to True as I want to use the HasNoValue attribute to retrieve all records when there is not a specific value sent to the parameter.
    When the parameter is created from a store procedure, I can simply set the value to nothing and handle the resulting NULL in the procedure.
    I was expecting that I could do the same for the regular parameters but this returns a "parameter field and parameter field current values are not compatible" error.
    I have tried setting the HasCurrentValue to True but this is a read only attribute.
    I have also tried setting the Viewer.ReuseParameterValuesOnRefresh to False (and True) but the report still prompts for the parameter.
    I have searched the web for the last two days and have had no joy on this so any help or pointers would be appreciated.
    Thanking you in advance

    Hi Don,
    I am using Crystal 2008 for both the report and the assemblies.
    Using the word All is not really an option as I need to process all types of parameters i.e. Boolean, integers and dates as well as strings.
    I could create some complex formulas to handle this but I need the report creation to be simple as possible as possible so that the customer can create reports at will.
    Using the Optional Prompt feature now available in 2008 I can create a simple record selection formula that looks like something like this :-
    (not HasValue({?MyParameter}) OR {Table1.Field1} = {?MyParameter})
    My problem is getting the parameter to register through my code that it has been set to HasValue = False so that the user is not prompted by the viewer to enter the parameter again.

  • 11 Release 2 Activex viewer prompts for parameters even after I set them in the program

    My program worked in 11 base.  I upgraded to 11 Release 2 and now the viewer prompts the user for the parameters even though the program has set the parameters
    here's some of the code
    Dim aCRreport As CRAXDRT.Report
    Dim crystalParms As CRAXDRT.ParameterFieldDefinitions
    Dim crystalParm As CRAXDRT.ParameterFieldDefinition
    Set aCRreport = m_CRapp.OpenReport("c:\somereport.rpt")
    Set crystalParms = aCRreport.ParameterFields
    Set crystalParm = crystalParms(1)
    crystalParm.SetCurrentValue FormatDateTime(Now, vbShortDate), crStringField
    frmViewer.CRViewer1.ReportSource = aCRreport
    frmViewer.CRViewer1.ViewReport
    the viewer opens and asks for a value for parameter one. 
    Thanks, in advance, for any help

    I got the same problem. I could encounter it does appear when using date parameters. We are using german OS and german VS6 so date is localized as "dd.mm.yyyy" but in the report parameter fields it is expected as "jjjj-mm-dd". I cant convert the param in code because it will always be localized to german date.
    Could this be the problem? When yes why isn't crystal reports accepting localized dates?

  • XL Reporter - Prompting for Production Order Number - How to?

    I have watched the FlashBook's for creating reprots, and following the directions. When I go to create a new Paramater, the Document Number is not an available Dimension.
    Can anyone point me in the right direction in setting up an XL Reporter report that prompts for Production Order number / Document ID? How do you create prompts for record ID's?
    Thanks.
    Mike
    Edited by: Mike White on Jun 16, 2008 11:11 PM

    Thank you for the help. This gets me closer then I was before.
    To test, I am list listing the Production Order Document Number and the Due Date. Looking to list only the Production Order and Due Date from a prompted Production Order.
    I tried both Cell Expansion and Row Expansion using the parameter you suggested. Cell Expansion returns all documents, but with a document number of 0. Row expansion gives me an error.
    I have captured all the screen shots and posted them to the web. If you wouldnt mind taking a quick look. I am sure something I am doing is off, but feel I am close with your help.
    http://www.level8systems.com/xlerror.jpg
    Thank you.
    Mike

  • Prompt for Clients

    Greetings,
    Please help me.
    I'm not sure why when I go to to prompt for Clients name or Clients ID - all of the Clients Name doesn't show up.  It's not pulling all of the Clients name. The relationship between the tables are correct and it is set to dynamic.
    Thank you,
    Sophal Lanh

    Hi,
    Please verify that the LOV for the dynamic parameter is scheduled or not in the Business View Manager.
    If the LOV is not scheduled then please set a recurring schedule for it and then verify that the new values are automatically updated or not.
    Thanks

Maybe you are looking for

  • Has anyone updated to 10.5.3 yet?

    Have you done it? Frankly, I'm terrified. I've had so much trouble getting the darn thing to work that i don't want to mess it up! I rely on that thing for ichat, radius auth, dns, and a couple other things. though, i never did get ical server workin

  • ICR - Data Missing From Reconciliation Screen, Process 2-FBICR2

    So I cleared my transactional data to post new documents. I ran FBICA2, and some were assigned, others not (as planned). I check the List of Records in the auxiliarry programs and all records are there. When I run FBICR2 for the period and company co

  • Configuring textpds.conf file for running Text Query in Oracle Reports 11g

    I'm trying to add a custom option in textpds situated in ORACLE_HOME\reports\conf folder by the given fileFormat: <fileFormat name = "ProductCSV" comment = "#" delimiter ="" type = "fixed"> <columnInfo> <cloumn name = "S.No." type = "number" startpos

  • The Customer has requested complete delivery

    Hello all, I am unable to create a delivery, and I am getting the following message log  in the delivery creation Log. The Customer has requested complete delivery But my problem is, I dont know which item this is related to? How can i find out which

  • Miro invoice amount/qty

    Dear Forum, in miro po reference tab, there are column like invoice amount acc. to vendor and invoice qty acc. to vendor may i know what are they meant? when can we edit these 2 column? Thanks