How to disabled the input parameter dialog box in crystal reports 9

Post Author: Murtaza
CA Forum: General
Hi friends,I have got stuck with a weird problem.  In my
crystal report, I have set up some input parameters.  I am setting
values for these parameters somewhere inside code.  But I don't
want to show the default input parameter dialog box. Under any case,
user should not see the ugly parameter dialog box that crystal
presents.   Please suggest me how I can achieve
this.  I cannot do this through code, because our environment does
not allow that.  I have to do this in crystal reports viewer and
by setting some property of the crystal report object. But everything
must be done on UI, not through code. So, the solution should not be the following. 
// step before step 1
// **** the line needs to refer to the report and be set before setting
ReportSource in the viewer to myReport
myReport.EnableParameterPrompting = False
Any help would be greatly appreciated.  Murtaza

Post Author: sleahcim
CA Forum: General
Hi Murtaza,
Unfortunately, I am not aware of any method to suppress the prompt for the input parameters, but still use them.  It is truly a design-related issue for the report.  The reason that the prompt appears is because the parameter it is prompting for is used in the report; in particular either the Group or Record Selection, or referenced in another formula.
The only way I can think of to not show the prompt, is to not use the parameter in the report.  You did mention that you are setting the value of the parameter inside of the report -- are you doing this through using a formula?  Perhaps you can just remove the parameter and only use the formula that you are setting the default values with.
-Michael

Similar Messages

  • How to disable the "GETTING PLAYLIST" dialog box that appears in Radio

    In itunes radio playlists, I click on a station and a message appears in a box, centered on the monitor screen that says "getting playlist" along with a blue striped status bar. I wonder if I can get rid of this annoying thing.! Because I know it is getting the playlist; I just clicked on a station. Why do I need to have this box sit on top and in the middle of my other applications?
    Is there some genius out there who knows an answer?!

    I don't think there's anyway to disable it, I just minimise iTunes or click on another application's logo while it loads. I agree with you as to it being annoying, but I don't think there's anyway to disable it. In my opinion it should just do it in the background without the dialog box...!

  • How to access the Document Options dialog box to select display properties?

    How to access the Document Options dialog box to select display properties (e.g. smartcut ) for a selected document to
    be viewed in the Workspace.
    regards

    Preferences --> General --> Reset all warnings.
    Mylenium

  • Change File Name In The "File Download" Dialog Box For Web Reports

    Hi All ,
    I followed the below note to change the "File Download" name.
    How To Change The File Name In The "File Download" Dialog Box For Web Reports? Doc ID: Note:418366.1
    However its not working. Has anyone tried this and works fine ?
    Basically I wanted to change the name "rwservlet" when a report is run in an
    excel format.
    Rajesh Alex
    Rajesh Alex

    Hello,
    Have you checked if a HTTP header "Content-disposition" is returned ?
    You can use ieHTTPHEaders for IE
    http://www.blunck.se/iehttpheaders/iehttpheaders.html
    and
    Live HTTP Headers for FireFox
    https://addons.mozilla.org/en-US/firefox/addon/3829
    Regards

  • How to highlight the repeated records in a BO crystal report?

    Hi ,
    How to highlight the repeated records in a BO crystal report?
    we want to highlight the rows for which account number is same.
    thanks
    sriram

    You don't even need to create a group.  Just sort the records on the fields that define "duplicate".  Then you can just use
    if {field} = PreviousValue({field}) then crYellow else crNoColor
    in the format's Background Color formula.  This will cause the background to be yellow on duplicates.  (If you need to check more than one field in order to determine duplicates, just insert
    and {field2} = PreviousValue({field2}
    and so on for each field that needs to be checked.
    HTH,
    Carl

  • How to avoid the Commit/Rollback dialog box

    I've a JClient app with two frames wich relate to the same appllication module with the same connection (I need it because I want a single commit).
    I start the first frame,then I click a button to start the second frame, I insert data in the second one and I see the commit/rollback buttons in both navebars enabled.
    When I close the secod frame, without committing (because I want to commit at the end of the whole process) I receive the Commit/Rollback dialog box.
    How can I solve that problem ?
    TIA
    Tullio

    Remove or conditionalize the code in generated Form/Frame.java class that binds a WindowListener to the Frame like:
        addWindowListener(new WindowAdapter()
            public void windowClosing(WindowEvent e)
              _popupTransactionDialog();
              JUApplication juApp = panelBinding.getApplication();
              if (juApp != null)
                juApp.release();
              System.exit(0);
      }You may either conditionlize the above windowClosing method or the code in generated method
    private void _popupTransactionDialog()

  • Urgent!!how to open the file download dialog box????

    Hi all,
    i'm using the browse button for the user to select the file
    and a submit button, which when cliked should open the file
    download dialog box asking for open or save.
    i searched for so many forums and websites and didn't get the
    solution yet.
    i'm using jsp.
    anyone have the jsp code for the same????
    will b more helpful if u send it to me.
    thanx in advance.

    Hi
    Use the Filedialog class.
    Let your button call a method wich contains the following Java code:
    FileDialog filedialog =
    new FileDialog( Frame1.this, "Open a File", FileDialog.LOAD );
    //witch calls this constructor: public FileDialog(Frame parent, String title, int mode)
    //use Filedialog.SAVE to save a file.
    filedialog.show();
    String filename = filedialog.getFile();//to display the name of the file
    String directoryname = filedialog.getDirectory();// to display the directory name

  • Supressing Parameter dialog box on Refresh Report

    After some tinkering, I've figured out how to get a parameter passed from a VB.NET form to a Crystal Report:
    Dim paramFields As New CrystalDecisions.Shared.ParameterFields()
    Dim paramField As New CrystalDecisions.Shared.ParameterField()
    Dim discreteVal As New CrystalDecisions.Shared.ParameterDiscreteValue()
    paramField.ParameterFieldName = "MyDateRange"
    discreteVal.Value = Common.MyDates
    paramField.CurrentValues.Add(discreteVal)
    paramFields.Add(paramField)
    crvBalances.ParameterFieldInfo = paramFields
    This works just fine when the report is first opened in the Crystal Report Viewer.  If I open the report a second time, however, using a different parameter, the old data is still on the report, and when I click the Refresh button in the report viewer, up pops that Parameter dialog box.  I set the option to discard any saved data when loading the report, but that didn't help at all.  Is there a way to KEEP the parameter dialog box suppressed and be able to refresh the report?
    I'm running Visual Studio 2008, and using the version of Crystal that comes with same.  Any help anyone can provide would be greatly appreciated.

    I am not sure I quite understand the flow, but here is my view of it:
    Load report
    Enter parameters
    View report
    Close report
    Re-load the same report
    Re-use the parameters entered in (2) above
    View report
    For ensuring that the previous data is not on the report (e.g.; step (3)), make sure that the report is disposed correctly ( use .close and .dispose on the report object). As long as the "Saved Data" option is not enabled (see KBA 1984381), the report should not have any data on re-use.
    Re-using the same parameters as you used in (2) will require that you somehow save what the user entered and on second load of the report, step (5) you enter those parameters in your code. There are no CR APIs that will do this for you.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to implement the Oracle Group by function in Crystal reports?

    Hi all,
    In SQL, for example we have a group function like:
    select  district,state, country, continent, sum(no.of people) from world.
    Now, How to implement this group function in crystal reports? Please advise.
    Thanks in advance..
    Regards,
    sriram

    Hi Vinay,
    Thanks for the prompt reply.
    In one of our report, we are supposed to perform group by for 14 columns to get sum of 3 columns and there by displaying 17 columns in the report.
    When we tried in crystal reports to implement this oracle group by functionality:
    1. We created 14 groups from the Insert->Group option.
    2. By performing this, we got 14 group sections vertically(one inside the other).
    3. Then we created the sum(15th column),sum(16th column), sum(17th column)  by Insert->Summary option.
    4. We suppresed all the group sections except for the last group.
    5. Then, dragged all the groups to the last group section along with the summary fields.
    This is how, we tried to acheive the oracle group by function in Crystal reports.
    Please advise, whether our approach is right. If not, please suggest the appropriate approach with a bit detailed explanation.
    Thanks,
    Sriram.

  • How to disable HP Universal Printing dialog box

    Hi, I am trying to install HP Universal Printing PCl 6 printers on a local machine using a batchfile from an application (C#) which automatically detects if a printer has been installed or not. The batchfile has the following entries:
    set IP=IP_%1
    pushd "%windir%\System32\Printing_Admin_Scripts\en-US\
    Cscript Prnport.vbs -a -r IP -h %1
    rundll32 printui.dll,PrintUIEntry /ia /m "HP Universal Printing PCl 6" /h "x64" /v "Type 3" /f %windir%\inf\ntprint.inf /u
    rundll32 printui.dll,PrintUIEntry /if /b %1 /f "%windir%\inf\ntprint.inf" /r IP /m "HP Universal Printing PCl 6"
    When I run my application, the printer is installed but when I try to print, sometimes I get the HP Universal Printing dialog asking me to select a printer. I can't even exit from this dialog. Other times when I dont get the printing dialog my print function fails with Invalid Handle exception.
    The next time I try to print with the printer installed, it prints documents successfully.
    How can I disable this print dialog using the batchfile above and why do I get the Invalid Handle expection on the first install and print??

    I don't think there's anyway to disable it, I just minimise iTunes or click on another application's logo while it loads. I agree with you as to it being annoying, but I don't think there's anyway to disable it. In my opinion it should just do it in the background without the dialog box...!

  • How to customize the Save as dialog Box for saving Web Query???

    Hello,
       we are usnging SAP NW Portal and BI 7.0 (SP14).
       We have published BI web queries in the Portal and it works just fine, now when the User select the Button "Save As" in the Context Menu of any web query, this will open a new Dialog Box name "Save As Dialog Box", so from this dialog box the user can select where to save the query, he/she have 3 options* to save qureies: My Favorites, Bex Portfolio and MyPortfolio, this also works fine.
      My Quetsion is: How can i customize the View of this "Save As" dialog box, so at the end the User can only select 2 Options:  My Favorites + MyPortfolio. So how to hide the Tab:  Bex Portfolio in the Dialog Box.
    Points for any good answer.
    Many Thanks and Regards,
    Nazih
    Edited by: Nazih Kayyali on Feb 3, 2009 4:04 AM

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How I change the save image dialog box view from oldest to newest first as the default?

    My save image dialog box has the oldest file in the folder in the upper left position (using list). I want to change it to the newest file shown first. It used to be that way, but now it showing oldest first. I haven't found any guidance on defaults for this box. Thanks.

    Leave it to Apple.  When I first got the phone, that's the way they were configured.  Now that they've flipped around, there's now way to change it!

  • How to validate the input parameters in Oracle BI Publisher reports

    Hi
    i am new to Oracle BI Publisher
    I am using OBI for generating simple reports.
    here i need validation for input parameters (Date Parameter) and also want to disable the Date filed so that user can select through the calendar component.
    Here validation in the sense, the system must validate the date and alert the user with an appropriate message
    Can anyone please provide me the solution in detail.
    Thanks in advance
    Edited by: user10185520 on Aug 26, 2008 6:15 AM

    I have the same task to validate input parameters with Oracle BI Publisher 5.6.3 running under Oracle eBS 10.5.10.2. My validation goes beyond of what I can do during parameter registration. I am using Data Templates.
    My first logical place was the before report trigger. So, I built a report trigger which returns 'false' in case the parameters are not proper. Guess what... XMLP just returns a hard-coded message
    !!Error : trigger '" + datatrigger.getName() + "' returns status as 'false'
    First of all, this is a bad style to hardcode messages visible by the user (especially during French implementation). Second of all, it is not informative at all. It would be nice to change oracle.apps.xdo.dataengine.XMLPGEN.executeTrigger() to read, for example, a message from the message stack when the trigger returns 'false' and let the user read it.
    Anyway, what I did was I built a special data group, decalred before any other data group, query like
    select my_package.my_validation fro dual
    If parameters fail the validation my PL/SQL package throws an application exception with a message. At least, in this case the error message gets available as the description of the concurrent request.
    I wish the before report trigger worked!!!

  • How to keep the input parameters in a query (WAD report)

    In some WAD reports, we have to record the report name and the user name (which user use the report) and what the selection criteria the user input. How can we do?
    Thank you
    Michelle Lee

    Hi.
    Report name: create user exit variable (lets say Z_QUERY_NAME) with following code at I_STEP=2
    WHEN 'Z_QUERY_NAME'.
    DATA lv_compid    TYPE rszcompid.
    CLEAR lv_compid.
    IMPORT compid = lv_compid FROM MEMORY ID 'COMPID'.
    l_s_range-low  = lv_compid .
    l_s_range-sign = 'I'.
    l_s_range-opt  = 'EQ'.
    APPEND l_s_range TO e_t_range.
    User name: crate user exit variable (lets say Z_USER) with following code at I_STEP=2
    WHEN 'Z_USER'.
    CLEAR l_s_range.
    l_s_range-low  = sy-uname.
    l_s_range-sign = 'I'.
    l_s_range-opt  = 'EQ'.
    APPEND l_s_range TO e_t_range.
    Then in WAD create 2 InfoField webitems. Set dataprovider and select variables for info fields.
    Regards.

  • How to avoid the parameters accepting screen generated by crystal report

    Hi ,
    I designed one rpt file which will take one parameter and trying to run that file from java servlets. But I am getting one problem. I am passing parameters from jsp and setting those to the crystal report but, instade of generating the report, it is generating one jsp page which is having text feild , after enter the parameter value onece I submit this page then only I am getting required output.
    anybody please help me in this. Below I am placing my code.     
                   ReportClientDocument reportClientDocument = new ReportClientDocument();
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   ServletContext cxt = req.getSession().getServletContext();
                   String fileName = "C:/Documents and Settings/Administrator/Desktop/lib-so/ix_sample2.rpt";
                   try
                        String realPath = fileName;
                        reportClientDocument.open(realPath, 0);
                        viewer.refresh();
                        viewer.setReportSource(reportClientDocument.getReportSource());
                   catch(Exception e)
                        System.out.println("inside catch block...");
                        e.printStackTrace();
                   IReportSource reportSource = reportClientDocument.getReportSource();
                   Fields oFields = new Fields();  
                   ParameterField portfolio = new ParameterField();
                   portfolio.setName("Portfolio");
                    Values oValues = new Values();
                      ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
                       oParameterFieldDiscreteValue.setValue(new Integer(16));
                       oValues.add(oParameterFieldDiscreteValue);
                       portfolio.setCurrentValues(oValues);
                       portfolio.setReportName(fileName);
                       oFields.add(portfolio);
                          viewer.setOwnPage(false);
                               viewer.setParameterFields(fi);
                       try {
                             viewer.processHttpRequest(req, res, cxt, res.getWriter());
                             viewer.dispose();
                       catch (ReportSDKExceptionBase e) {
                             e.printStackTrace();
    thanks,
    Mallikarjun
    Edited by: mallikarjuna.ch1 on May 17, 2009 9:58 AM

    Thanks a lot for worthful suggetion Neeraj.
    I got resolved my problem. I have one more issue, please give a clarification about that.
    my doublt is,
    For parameterized rpt file running purpose I need to set the database details . every jar file is placed in application lib only. And my CRConfig.xml file also placed bellow.
                  <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
        <timeout>1</timeout>
        <ExternalFunctionLibraryClassNames>
              <classname> </classname>
              <classname> </classname>
        </ExternalFunctionLibraryClassNames>
    <keycode>B6W60-01CS200-00GCPT0-0JY1</keycode>
    <Javaserver-configuration>
    <DataDriverCommon>
         <JavaDir>D:\inventex\crystal_report\Business Objects\j2sdk1.4.2_08\bin</JavaDir>
        <Classpath>$</Classpath>
         <IORFileLocation>$</IORFileLocation>
         <JavaServerTimeout>1800</JavaServerTimeout>
         <JavaServerStartupTimeout>30</JavaServerStartupTimeout>
         <JVMMaxHeap>64000000</JVMMaxHeap>
         <JVMMinHeap>32000000</JVMMinHeap>
         <NumberOfThreads>100</NumberOfThreads>
    </DataDriverCommon>
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:sqlserver://10.0.0.65:1433;DatabaseName=reportmanager</JDBCURL>
         <JDBCClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</JDBCClassName>
         <JDBCUserName>malli</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
              <Sybase>
                   <ServerType>SYBASE</ServerType>
                   <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
                   <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>MySQL</LogonStyle>
              </Sybase>
         </GenericJDBCDriver>
    </JDBC>
    <XML>
         <CacheRowSetSize>100</CacheRowSetSize>
         <PreReadNBytes>4096</PreReadNBytes>
         <XMLLocalURL></XMLLocalURL>
         <SchemaLocalURL></SchemaLocalURL>
         <XMLHttpURL></XMLHttpURL>
         <SchemaHttpURL></SchemaHttpURL>
    </XML>
    <JavaBeans>
        <CacheRowSetSize>100</CacheRowSetSize>
         <JavaBeansClassPath></JavaBeansClassPath>
    </JavaBeans>
    </Javaserver-configuration>
    </CrystalReportEngine-configuration>
    still it is showing "Error finding JNDI name (sql server) " error. I am solving this problem setting these paramers through program.

Maybe you are looking for

  • BOM items are not coming in Subcontracting PO

    Hi,   I have created a Finish good material and also have made BOM for that Finish material  when I am trying to make a Subcontracting PO for that Finish material   the BOM items are not coming in PO for that Finish material only  for other material

  • How to go around the enter key

    Hi all, I have the data show on the grid. I modified it and didn't press the enter key, the commit (save) icon in the navigator bar doesn't high light. Is there a way to go around that? Make it high light whenever the data change. Thanks null

  • Servlet error in weblogic deployment

    Hi Friends, I have uploaded a war file by name 'Dat_Ced.war' in weblogic server.But when I try to run the servlet in the browser, I get the following error in console. ca.com 2007-10-01 12:26:49,044 [ExecuteThread: '14' for queue: 'weblogic.kernel.De

  • How can I transfer content which I downloaded off the internet from my ipod to my library

    ... I bought C418's minecraft volume alpha for 4 dollars, and backed up my ipod for the sole reason of trying to get it onto my itunes library. APPARENTLY, itunes only backs up purchased content. The album disappeared completely from my ipod! I'm beg

  • Modifying coding in Oracle Objects

    Is there any way like to remove the specific repeated lines from the oracle objects like Function,Procedures and Packages?.For examples my certain packages are composed of more than 10000 lines of code which contains lot of dbms_output.put_line state