Is there a way to disable levels of a cascading dynamic parameter?

Hello,
As the title describes, I'd like to see if there's a way of programmatically disabling levels of a cascading dynamic parameter.
For example, I have a dynamic cascading parameter that has two levels, levelA -> levelB, where based on the value of levelA, levelB choices get filtered. I'd like to programmatically populate a value for levelA and disable it so that the user can't change it.
Miscellaneous info:
Language: C#,
IDE: Visual Studio 2010
CR for Visual Studio ver: 3.0.2.x
Any help is appreciated.
Thanks.

Hi Andrew,
First, the version of CR for VS does not make sense, did you mean 13.0.2000.0? If so that is the Assembly version which never changes. The real version s the version of the dll's. Or you can query the GAC for the version this way:
foreach (Assembly MyVerison in AppDomain.CurrentDomain.GetAssemblies())
    if (MyVerison.FullName.Substring(0, 38) == "CrystalDecisions.CrystalReports.Engine")
        //File:             C:\Windows\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\13.0.2000.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll
        //InternalName:     Crystal Reports
        //OriginalFilename:
        //FileVersion:      13.0.9.1312
        //FileDescription:  Crystal Reports
        //Product:          SBOP Crystal Reports
        //ProductVersion:   13.0.9.1312
        //Debug:            False
        //Patched:          False
        //PreRelease:       False
        //PrivateBuild:     False
        //SpecialBuild:     False
        //Language:         English (United States)
        System.Diagnostics.FileVersionInfo fileVersionInfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(MyVerison.Location);
        txtRuntimeVersion.Text += fileVersionInfo.FileVersion.ToString();
        // check if CrsytalDecisions.Enterprise dll's can be loaded ( Anything but Cortez - managed reporting )
        if (fileVersionInfo.FileVersion.Substring(0, 2) == "13")
            btnRasOpen.Enabled = false;
        CRVer = fileVersionInfo.FileVersion.Substring(0, 2);
        return;
As for the dynamic parameter you cannot get the top levels of the prompt, only the last field info but there are limitations right now.
If you look at the Query all you will see is the last prompt field in the SQL.
Currently we have an Enhancement request to be able to get the field name from the the report to get that last field name. There is no plans to get the field names above though so no option to disable in code.
What you can do though is change the Dynamic parameter to Static and/or List of Values and then you can change the behaviour in your app by creating your own Parameter Prompt UI and the result should be noted in the WHERE portion of the SQL Statement. And no you cannot modify the SQL statement.
Don

Similar Messages

  • Is there any way to disable runtime schema validation

    At runtime Kodo appears to validate that all of the tables and columns
    referenced in the mapping table exist in the datebase. Is there any way
    to disable this. It takes an extremely long time for the validation to
    complete and although it may be useful during certain stages of
    development or to verify a new deployment it isn't really all that
    desirable.
    Thanks,
    -Marc Sheftel

    Thanks!
    Abe White wrote:
    On Tue, 16 Sep 2003 11:44:36 -0500, Marc Sheftel wrote:
    At runtime Kodo appears to validate that all of the tables and columns
    referenced in the mapping table exist in the datebase. Is there any way
    to disable this.
    kodo.jdbc.SchemaFactory: dynamic
    Note that when using the dynamic schema factory Kodo can't detect foreign
    keys.

  • Is there any way to disable keyboard shortcuts?

    The number of times we've been doing a stream and someone has accidentily hit the spacebar and killed the stream is very anoying.
    Is there any way to disable the keyboard shortcuts so this isn't an issue?
    Many Thanks,
    Ady

    This might go into too much detail but I suspect since you're referring to a basic system function you're going to have to address this at a pretty basic level in the system operations which isn't always easy without major hacks.
    [Apple developer site key binding information|http://developer.apple.com/documentation/Cocoa/Conceptual/EventOver view/TextDefaultsBindings/chapter9_section2.html]
    You could check utilities such as Quicksilver, Butler, Spark, and Ukelele.

  • Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?

    Hi,
    Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
    Thnx in advance.

    I would hope there would be no way to disable Save AS that would reduce the applicationss capability. What are you trying to prevent happening?

  • Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?

    Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?  Regardless of whether I am using iMessage from  my iPhone or iPad, when I open my MBP, I get attacked by Messages notifications for iMessages I've obviously already seen or responded to.  Is there a way to change this?  Are others having this issue?
    Additionally,  previous iMessages sent or received from those  devices sometimes don't populate into the Messages window on the MBP.  I haven't been able to identify when or what causes this; sometimes it just doesn't seem to work (and I verified that the messages sent/received were, in fact, iMessages and not SMS).
    Thanks - any help or insight would be appreciated!

    First you need to determine what laptop model you have; then we can help you. A Mac Book Pro cannot run OS 9.1.
    With your Mac booted up, click on the  at the far left of the menu. Then click on About This Mac. It will show what version of OS  you are running. What is the version?
    A MBP will be running something like version 10.x.
    If you are running version OS 9.x, you don't have a Mac Book Pro.
     Cheers, Tom

  • Is there any way to disable the objects owned by a user?

    Hai every body....My problem is..
    I had created 60 users granting them connect and resource privileges in oracle(8.1.5.0.0).All of the users are working under their logins(users)...Every thing is going fine...But now i wanted to disable the objects owned by those users
    (60 Users) for a period of 2 days,After that i wanted to enable them....Is there any way to disable the objects owned by them with out dropping the users?(The users should be able to work as prevoiusly on the new objects they will create after i disabled the objetcts owned by them previously)?

    hi
    if my understanding is right you want to disable the users for 2 days for any reason let say he is on holiday for 2 days then why dont u lock this user and submit the job for unlock after two days.
    Khurram Siddiqui
    [email protected]

  • Is there a way to disable push mail from Yahoo? It's draining my battery

    I'm on the prepaid plan and every 10-15 minutes my iphone turns on with a "The last transaction cost $0.00" message. I don't mind the message (although it is a bit annoying) but my problem is that this turns the LCD on for about 2 minutes at a time.
    I charged my battery to 100% last night, haven't used it at all today and after just turning it on a few minutes ago I had the "Your battery life is at 10%" message followed by a 5% remaining message a few minutes later.
    I've heard that it's the yahoo push mail service thats causing the phone to give the message (since it connects to the internet). My Yahoo account is my main one and I'd hate to have to login to yahoo's site each time to check it (the email functionality was a big selling point for me with the iphone). ATT/Apple don't seem to want to disable this message/"Feature", so I'm guessing I would need to step in and do something on my end.
    Is there any way to disable yahoo mail from "pushing" messages to my phone? I can hit the Check Mail button if I have to.

    Hi Everyone,
    To give an update on the situation: I disabled the Yahoo account and it seems to make a VERY NOTICEABLE difference in battery life - prior to this my battery would drain quite rapidly but since disabling it it's only lost about 15-20% over the past 24 hours (and thats with using the video/music/internet functions for about an hour and a half).. Prior to this it would have been close to drained under the same circumstances.
    Also, to confirm, the "Your last transaction cost 0.00" messages only appear when accessing the internet manually now. before they appeared every 10-15 minutes with no interaction from myself at all (while it was sitting idle, while watching videos, while charging, while in my pocket, etc..)
    I do have it set to only check Manually but Yahoo would seem to check on it's own even though this setting is checked (I'm guessing it has to do with the Push setting). Aside from draining the battery, it was quite annoying having 30 or so "Your transaction cost $0.00" messages to click through whenever I turned on the phone.
    I did have the screen set to shut off after 1 min, but the 'your transaction cost..' messages would first wake the iphone up, the screen would stay bright for about 30 seconds, dim for about 30 seconds, then turn on bright again for 1 minute until it shut off. I'm guessing the screen (being on for about 10-15 minutes per hour due to this) and the fact that yahoo accesses the internet on such a frequent basis are what cut the battery life down.
    I really wish I could make Yahoo work more like Gmail and have it manually search for new mail

  • The hotkey for Private Browsing ( CTRL Shift P ) interferes with another program I have running in the background. Is there a way to disable or change the Firefox Hotkey?

    Question:
    The hotkey for Private Browsing (<CTRL><Shift> <P>) interferes with another program I have running in the background. Is there a way to disable or change the Firefox Hotkey?

    You can try this extension:
    *Customizable Shortcuts: https://addons.mozilla.org/firefox/addon/customizable-shortcuts/

  • Is there a way to disable my premium sond (eq and adio enhancement?

    is there a way to disable my premium sond (eq and adio enhancement? Mine is affecting the sound at all so i'm thinking something has been disabled or something as I know I have used it before and it worked

    Hi,
    Try using Recovery Manager to reinstall your original Audio Driver ( ie Conexant, IDT etc ) - the procedure for using recovery manager to reinstall Software and Drivers is detailed in the relevant document on the link below.
    Recovery Manager - Windows 7
    Recovery Manager - Windows Vista
    After the reinstallation has completed, restart the notebook.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Is there a way to disable the auto play video and audio ads that are showing up on the web these days?

    A lot of sites have video ads that load and start playing while safari is loading the entire page - slows everythiing down. Also a couple news sites I go to have autoload/play content.  Is there a way to disable these auto loads?

    Install the ClickToFlash or ClickToPlugin Safari extension.

  • In keynote 2.0, is there a way to disable clicking to the next slide?

    I'm trying to create a Jeopardy template that lets the user click on the board to choose a question but I can't get it to stop moving forward one slide when someone click on the background of the question. Is there a way to disable that like in Powerpoint? I want to create clickable objects instead but if someone misses them by accident it could mess up the game.

    In the Document Inspector, in the Presentation dropdown menu, choose "Hyperlinks only". This option allows navigation of the presentation solely through explicit hyperlinks.

  • Satellite A500- Is there a way to disable Hyper-Threading technology (HTT)?

    Is there a way to disable Hyper-Threading technology (HTT)?
    It is really bothering me with some apps,..
    I cannot seem to find it in bios,..1.5,.. was it in earlier bios?,.. is there a way to roll back,..
    Is it even possible,..
    Message was edited by: rekof

    I know that, but why would toshiba lock it out in the bios 1.5 ,.. even Intel suggest disableing it,.. Its for future proofing,.. for now it does more harm than good,.. for some users atleast,..
    Hope we get this option in next bios,.. I would understand if it would be harmful for a product,.. but it is not,..

  • Is there a way to disable tab font smoothing (maybe with userchrome.css)?

    hello everyone I've just switched from chrome to ff and I'm very satisfied. Just one problem, is there a way to disable tab font smoothing (maybe with userchrome.css)? I've changed the colour of tab font (with userchrome.css) to white to improve readability but with white text is too bold. thanks !!

    hey thanks for the quick reply. here's a screenshot
    http://www.mediafire.com/view/?c2a2l69ci5zbq#bt6qrwr6ku8m5n6
    i think we just have to add some antialiasing in the userchrome.css? but i don't know the code.
    here's my modified userchrome.css
    /* Inactive Tab */
    tab:not([selected="true"]) {
    color:white !important;}
    /* Tab while loading */
    tab[busy] {
    color: blue !important;}
    tab .tab-text {
    font-size: 12px !important;
    /* tab font */
    tab .tab-text {
    font-family:Verdana !important;
    i read somewhere else the problem is more evident with white text on dark background
    thanks

  • Is there a way to disable usb sync?

    I have several corporate iphones that will contain sensitive data. We do not want the data on these units to be synced with unauthorized computers? Is there a way to disable usb hard wire sync?

    In iTunes go to Edit > Preferences > Advanced and select the option to prevent automatic syncing of iDevices when plugged in.

  • The status bar is blocking my content, is there a way to disable it via Javascript and the likes?

    I'm working on a site that requires a bottom footer in a fixed position, with a control button on the left hand side, my problem is, that the `new` status bar area covers this section for quite some time whilst it's requesting data, or waiting for the server, is there a way to disable it via JavaScript or some sort? It seems kind of silly for a status bar to cover your content (no offence), the old way was much nicer, sure it used more screen space, but atleast it didn't assume things. I just couldn't find a solution anywhere else, other than to move the button. :)

    You can use this extension to hide the pop-up that shows the URL of a link on hover and other data that previously appeared on the Status bar.
    *Status-4-Evar: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    Add code to userChrome.css below the @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    *http://kb.mozillazine.org/Editing_configuration
    <br />
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #statusbar-display { display:none!important; }
    </nowiki></pre>

Maybe you are looking for

  • Displaying the contents of internal table- in email Step of workflows

    Hello Folks, I wanted to display the contents of an internal table ( would contain a list of opportunites ), in an email sent throught the workflow: My idea was to LOOP AT <ITAB> into <WA> from an external program and then call the workflow for each

  • BAPI_SALESORDER_CREATEFROMDAT2 link order and quotation

    Hi, Object: Create a sales order and link it with a quotation. I have created first a quotation VA21 for a customer and a material. I am using function BAPI_SALESORDER_CREATEFROMDAT2 in a Sap 5.0 to create a TA order in a program with a BAPI_TRANSACT

  • What is the use of delta in BW side when we have delta in R/3

    Hi, what is the use of delta in BW side when we are already using delta in R/3 side? Like, Generic extraction:- with different delta extractions (Time stamp, Calendar day, Numeric pointer). Lo-Cockpit extraction with change log method. Co/Pa extracti

  • Set end jump to stop, still won't stop...

    I have a 20 minute dvd program with no menus that is set to play upon insertion. Set chapter 1 end jump to stop - didn't stop. Added a chapter 2 marker in black at the end of the program and set its end jump to stop - still won't stop. Read the other

  • Icon Appearance Change in Column View

    I apologize if this has been answered before. I've tried to search the topic, but get so many hits that I can't go through them all. Apparently, the more words I add to the search to make it more specific, the more hits I get. Anyway, I use the Colum