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.

Similar Messages

  • Crystal reports viewer will not prompt for parameters

    Help,
    I can not get crystal report viewer to prompt for parameters when called from IIS 8 on Server 2012 r2
    I can get crystal report viewer to prompt for parameters when run from vs 2010 built in web service.

    Thanks,
    The solution for me was to uninstall the latest crystal reports runtime 13.10.x and install 13.6.x instead.
    Thanks anyway.

  • 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;

  • Is it possible to keep an email account on the iPhone but stop if from checking for new mail?

    I have an email account that has been deleted from the provider (Gmail), but I want to keep the old mails on my phone, while stopping it from checking for new mail.  Is this possible? 
    If I disable the account to stop if from checking for new mail (and producing a bunch of annoying pop-ups every time the mail app is opened), the account becomes invisible and the old mails disappear.  I want to keep them visible to I can read and refer to them, but want to stop the phone from trying to download new ones or check the account.
    Any help appreciated. 

    Thanks for the thought.  In this case, that doesn't really help much, as it requires a bunch of button pushing just to check emails.  Plus, if I'm not mistaken, in addition to switching modes every time I check email, it also prevents the other accounts from downloading the most recent mails as well.  Since it's possible to keep an account on a Mac computer, but take it offline, it's very disappointing if there isn't a way to do the equivalent on an iPhone so that it passively holds the mails but doesn't send constant pop-ups every time the app is accessed.

  • How to stop Firefox from checking for add-on compatibility every time it opens?

    How to stop Firefox from checking for add-on compatibility every time it opens?

    That can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the compatibility.ini file in the Firefox profile folder to see if that helps.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • Report Preview in CMC keeps prompting for parameters ...

    Dear Experts, I am trying to see the preview of a report in CMC (CMC -> Folders -> Browse to the report and then click on review). It prompts for parameters and I enter the parameters. The report shows the result but then prompts for the parameters again. I check the same report in Dev and QA and they work. All these systems have same configuration, same version of IE and same settings. I check them all.  Kindly point out if I'm missing something. I appreciate any help.

    Hi
    what exactly do you mean by:
    The report shows the result but then prompts for the parameters again
    Is your report shown and after X seconds it prompts again for the parameters automatically?
    Regards
    Stratos

  • Crystal Reports prompting for creds when viewed from BO 4

    The environment:
    Business Objects Enterprise 4, sp2 patch 8
    SAP ECC 6.0, kernel 701, sup. pkg. lvl 137
    This is a new BOE 4 installation on a test system.  The BOE installation has been configured to use Windows AD authentication with SSO.  When I run a Crystal Report that is based on SAP ECC data, I am prompted for credentials.  So I used the following document to configure BOE for SSO to DB:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtosetupSSOagainstSAPBWinSBOBI4.0forLDAPusers
    This didn't fix the problem.  SAP ECC reports in BOE still prompt for creds when viewed.  SAP Authentication is verifiably working, but I'm not sure if SSO to DB is working.  One thing I've noticed is that when I log in to BOE using SAP authentication and view the report, I'm not prompted for creds.  In BOE I added my Windows AD acct as an alias in my SAP acct, but I may have either done this incorrectly, or there may be something I need to do in addition.
    question 1:  Is there an easy way to verify if SSO to DB is working correctly?
    question 2:  In CMC --> Authentication --> SAP --> Entitlement Systems --> User Name, I'm assuming that this is an SAP user name.  What roles/profiles does this account need?  Should it be a dialog acct?
    question 3:  Our ECC system is configured to use SNC.  Do I need to configure SNC in BOE for SSO to DB to work?
    question 4:  I added my Windows AD user as an alias on my SAP user record.  I'm not sure this is correct...  can someone verify?
    Any help or suggestions are much appreciated.

    Thanks, Ingo.  Once I got snc configured, everything began working wonderfully.
    I used this document as a guide:
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134343630363726

  • Unable to stop Flashplayer 11.5 from prompting for update

    Hi, I support about 3000 machines worldwide.  We use Windows 7 x64, with IE10.  In my base image I Installed Flashplayer ActiveX 11.5.502.146, using the full EXE installer and the switches -install -au2 (i do not want any updates done or users to get any prompts for updates).  The MMS.cfg created using these switches shows 2 lines:
    AutoUpdateDisable=1
    SilentAutoUpdateEnable=0
    and is located in the x64 path c:\windows\syswow64\macromed\flash
    In the Flash Player settings manager, the advanced tab shows the radio button selection "Never check for updates (not recommended) is selected (this is greyed out because all of our users run under standard user permissions). Installation runs fine and the product works fine in IE, the problem I have is that my users are still prompted by the Update Adobe Flashplayer message on a weekly basis.
    I looked at the admin guide for 11.5, and I believe my settings are right.  Why am I still getting this prompt?  Does mms.cfg have to be in the x86 path as well?  Is there something with standard user rights as it relates to adobe updates?  Should I install this from the MSI?
    I can't update to 11.7 right now as we are getting ready to start rolling out my image and don't want to make changes at this time.   I'm looking for any input on what I may be doing wrong that I continue to see update prompts.  Thanks in advance for any information, and I'd be happy to provide additional info if I left out something.

    See also http://forums.adobe.com/thread/1194289
    And https://bugbase.adobe.com/index.cfm?event=bug&id=3545918

  • Refresh_report prompts for parameters

    Following some installation problems from our installer using the .msm files to create crystal runtime info, we have switched to using the downloadable redistributable to install Crystal 2008 runtime files (SP3 & 4)
    When we do this, when our code issues a refresh_report(), the report prompts for the parameters again with the original values missing.
    We can see the parameters in the viewer (on the left) until we issue the refresh_report, and we have checked that the setting ReuseParameterValuesOnRefresh (or similar) is set to True.
    Clients running the same version of our application change behaviour if we uninstall the .msm based version and install the downloadable redistributable.
    Any suggestions (the msm based version was point blank refusing to install on certain clients (64bit W 7, but not all of them)?
    Iain

    We are using Visual Studio 2008 to write a C# wrapper to then interface with our actual application  as a COM dll.
    However, this code is working on a client where the runtime was installed using an installer which used the Crystal 2008 msm files, and isn't working where the client is installed using the re-distributable downloadable .msi files.
    We can leave our app in place, and uninstall one version of the crystal runtimes, and then install the re-dist provided by SAP and the problem manifests. Re-installing the original runtime files from the msms 'fixes' this problem, but we then cannot get this to install at all on certain clients.

  • Preview and print a Crystal report prompted for the sa password

    Dear All,
    Our customer has Crystal report add-on to be installed. When we Preview and print a Crystal report, we got a window prompted for the sa password. Even we type in a correct password, it still says wrong password...
    Every time when I open my report in Crystal Basic 2008 on the server, then go database expert >> My connections >> click + in front of the connection name, it asks my sa password. I type in my password then save and close. Next time when I open the report and go my connections, I have to type in my password again. This only happens on one customer.
    Any idea? Thanks a lot.
    Regards,
    Yuka

    Hi Yuka,
    1) All their SAP client workstation, they have to have use SQL2008 CD and install SQL Client on it
    Correct, MS does NOT support MDAC or WDAC when connecting to SQL 2008.
    2) Then go ODBC >> SQL Native Client 10.0 >> Create a new connection to SAP server. Should we use sa user or another use that has the same authorization as sa?
    Correct again if they are also using ODBC to connect, as for using the sa account or creating a new one is up to you. I suggest creating a Crystal account with what ever rights your app needs, this way if tracing it turned on etc. you can confirm who is actually running the report.
    3) Then from MY Crystal report, I have to use ODBC connection as well?
    Just to clarify, if you created your reprots using OLE DB then they can do so also. But you need to update your connection properties. Open each report click on Database, Set Location, scroll down to OLE DB and expand and then choose MS SQL Server Native 10 as your OLE DB provider, fill in all the logon info and then verify the database. Do the same for each subreport also.
    Save your report and either send them the new one or if you are doing this remotely then replace the original report.
    VERIFY your reports to confirm they still return correct data and do work as expected.
    Or if you are using ODBC then yes you do select the MS 10 driver with a new DSN. Then do the above to update the reports to all use ODBC as their data sources.
    Hope this is all clear now....
    Thanks again
    Don

  • Dynamic command execution fails in Crystal report viewer for parameters

    We are using the Crystal Report Viewer for the .Net Application on the client side.The reports are designed using Crystal Report XI R2.
    The issues that we are currently encountering is that, we are unable to load the combo-boxes in the pop-up for the parameters.
    All the reports have multiple commands and the variables are of 'dynamic' type.
    When the dialog box for requesting the pop-up comes up, It comes up empty even though they are linked to the respective commands.
    Also,For reports having multiple parameters we are unable to give a single dialog box to get in all the parameters.It appears as a series of prompts.
    Both,these issues are not encountered when the reports are launched via the Crystal reports developer tool.

    Hello Varun,
    I recommend to post this questionin the [dedicated NET forum|SAP Crystal Reports, version for Visual Studio;.
    This forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Falk

  • Prompt for parameters, but save password

    I have a report that prompts the user to select a date range for query results.  I am using a 3rd party program to view the report.  Under Report Options, I have disabled "save data with report" so that it prompts for the dates each time the report is opened.  The problem is that is also prompts for the password to the database.  Is there a way to set up the report to ask for a date range, but not ask for the password each time?  The third party program does not prompt for the password, so when trying to view the report, it just errors out.  I am new to CR, so I've only being doing this for a couple of day.  Thanks.

    Hi Dustin,
    You said you are using 3rd party program ?  What is this program ? Is it developed using .net or Java ?  If this is java based of .net based then you can pass user login information through coding.
    Otherwise it is not possible to stop asking user credentials when you refresh crystal reports.
    Thanks,
    Sastry

  • Infoview not prompting for parameters

    Hi all,
    quite basic question but I have spent hours on this now so decided to ask.
    I have a Crystal report based on BW query which has date range as mandatory variable.
    How do I control whether the Crystal report promts for that variable or not when opening. When I open the Crystal Report from INfoview it does not prompt for this parameter, although it did so previously.
    Is the setting with the paramter in the CR or with report options?
    thanks

    Hi,
    can you please check if the option Save data with the report is selected? You will find this under the File menu in the CR designer. If the option is selected then the report will not try to fetch data from the database when opened and therefore will not prompt you for the date variable. In this case you will have to refresh the report explicitely in the InfoView
    Regards,
    Stratos

  • How do I stop mavericks from looking for an old server and nagging me that it can't find it?

    MacBook Air running OS X 10.9.4
    Had it set up to connect to my main iMac for shared files.  Wife complained that when my iMac wasn't on the MacBook constantly nagged her with a message saying it couldn't connect to the server (my iMac).
    Removed sharing on my iMac.  Removed recent server list from the MacBook Air.  Removed my iMac from the finder side bar in the MacBook.  Now the MacBook Air constantly naggs us that it can't find the server (name of my iMac).  I just want the @#$@# thing to shut up, quit looking for the iMac and be quiet.
    Need help as I can't figure this one out.
    PLEASE!!  

    There are many possible causes for this issue, and it may be hard to resolve. Please take each of the following steps that you haven't already tried. Back up all data before making any changes.
    If you get the alert in the login screen before you log in, stop here and ask for instructions.
    Step 1
    If you get the alert as soon as you log in, it's probably caused by one of your login items or by software that otherwise loads at startup or login. Ask if you need help identifying it. A known offender is "AdobeResourceSynchronizer," which is a component of some Adobe products. See also this discussion.
    Step 2
    If there's an icon representing the server in the sidebar of a Finder window, hold down the command key and drag it out.
    Step 3
    In the Finder, press the key combination command-K or select
              Go ▹ Go to Server...
    from the menu bar. In the upper right corner of the window that opens is a Recent Servers popup menu represented by a clock icon. From that menu, select
              Clear Recent Servers…
    and confirm. Test.
    Step 4
    Open the Printers & Scanners pane in System Preferences and delete any network devices you no longer use.
    Step 5
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing  command-C:
    ~/Library/PDF Services
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. A folder may open. If it does, move the contents to the Desktop, or to a new folder on the Desktop. Log out and log back in. Test. If there's no change, put the items you moved back where they were and continue.
    Step 6
    Open the folder
    ~/Library/Preferences
    as in Step 5 and move the file named "loginwindow.plist" items in that folder to the Trash, if it exists (it may not.)
    Log out and back in again, and test.
    Step 7
    Other possible causes are references in the iPhoto, iTunes, or iMovie library pointing to the server, and bookmarks in the Preview application.
    Try rebuilding the iPhoto library.
    Step 8
    Disconnect all wired peripherals except those needed to start up. Start up in safe mode. Test. After testing, restart as usual (not in safe mode) and verify that you still have the problem.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Step 9
    Triple-click the line below to select it:
    /System/Library/CoreServices/Directory Utility.app
    Rght-click or control-click the highlighted text and select
              Services ▹ Open
    from the contextual menu.* The application Directory Utility will open.
    In the Directory Utility window, select the Directory Editor tool in the toolbar. Select Mounts from the Viewing menu in the toolbar, and/Local/Default from the node menu, if not already selected. On the right is a list of names and values. By default, the list is empty. If it's not empty, post a screenshot of the window and stop here.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.
    Step 10
    Open the following file as you did in the last step:
    /etc/auto_master
    It will open in a TextEdit window. The contents should be exactly this:
    # Automounter master map
    +auto_master          # Use directory service
    /net               -hosts          -nobrowse,hidefromfinder,nosuid
    /home               auto_home     -nobrowse,hidefromfinder
    /Network/Servers     -fstab
    /-               -static
    If there are any other lines in the window, post them. Otherwise, close the window.

  • How to stop Mail from searching for sender's image?

    When I'm going through messages in Mail, it won't display the message in the preview pane for several seconds until it completes the "Searching for sender's image" process. I have a large address book with several thousand entries. Is there a way to prevent Mail from searching for the contact's image in the Address Book? This wasn't an issue in 10.4.11.
    Here's a screenshot:
    http://img55.imageshack.us/img55/6007/001rz6.jpg

    The iPhone data plans are unlimited, so you shouldnt be concerned about cost. That being said, it is ANNOYING to have all accounts (I have six) check email just because I launch the mail app. And if I follow a URL in an email to Safari, then come back to Mail, it checks AGAIN.
    Nope, there is not way to stop if from doing that short of turning the account OFF under Mail Settings, which is even MORE inconvenient. I went to http://www.apple.com/feedback/iphone.html and left them a message. Perhaps you should do the same.

Maybe you are looking for

  • Upgraded my iphone 4s and running 10.6.1 itunes latest version on older mac. My mac no longer sees my iphone

    Hi I am runing older G5 dual on OSX 10.5.8 and have upgraded as far as I can. Just upggraded mu iphone 4s to 6 and now I cannot see it in itunes. Message tell me I need to upgrade my itunes but I can't go any furhter on my Mac. I am demented, need to

  • AP Report S_ALR_87012077 Update

    Hello, Can someone please tell me how to update the AP Eval Type Report S_ALR_87012077 ?  All the Company Codes currently being used in the system are not displayed on the report ? Thanks in advance! Rob

  • Pc no start

    good night when I click the power button turns the two  lights The bios led A and the bios LED B light and the debug LED displays 00 with the option A of bios. if switch to option b all ok computer starts normally board is x99s gaming 7 excuse my eng

  • What is cost of a particular item?

    I can see the cost of the particular item in the 'Item Cost History' form of Oracle Apps for a specified date. If i wanted to see the same in back end table, what table should i refer? MTL_CST_ACTUAL_COST_DETAILS, MTL_CST_TXN_COST_DETAILS & CST_LAYER

  • Anti-Spam tuning

    Hi, since few days ago i receive a lot of new spam/scam messages about russian girl dating, all my rules in spamassassin can't stop them, i need help about setting up something that works... I post headers about a sample scam message (replaced my dom