API/RAS - is it possible to remove suppress condition formula from report Section?

I need to modify a report on the fly so that sometimes the 'Suppress (no drill down)' condition formula is completely removed from a report Section. Optionally I would like to just modify the formula to return FALSE so that the section appears.
It seems like the code below works when the section format 'EnableSuppress' option is TRUE, but does not seem to do anything when there is a suppress formula for the section.
Is this possible to do?
Thanks
Helen
private void RemoveSuppress(CrystalDecisions.ReportAppServer.Controllers.ReportSectionController ctlSec
    , CrystalDecisions.ReportAppServer.ReportDefModel.Section sect)
    CrystalDecisions.ReportAppServer.ReportDefModel.ISCRSectionFormat
secFmt = new CrystalDecisions.ReportAppServer.ReportDefModel.SectionFormat(); // also tried getting the current section format object
    secFmt.EnableSuppress = false;
    secFmt.ConditionFormulas.RemoveAll(); // *** Should ensure the condition formulas are removed correct?
    ctlSec.SetProperty(sect, CrystalDecisions.ReportAppServer.Controllers.CrReportSectionPropertyEnum.crReportSectionPropertyFormat, secFmt);
private void doOutput(CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument oras)
    CrystalDecisions.ReportAppServer.Controllers.ReportSectionController
        sect = oras.ReportDefController.ReportDefinition.FindSectionByName("DetailSection1");
    RemoveSuppress(oras.ReportDefController.ReportSectionController, sect);
    CrystalDecisions.ReportAppServer.CommonObjectModel.ByteArray
        boByteArray = oras.PrintOutputController.Export(RASDefModel.CrReportExportFormatEnum.crReportExportFormatPDF, 1);
    boByteArray.Save(@"c:\temp\r.pdf", true);

Hi Helen,
Not sure why or how I missed this one but see this post for more info:
http://scn.sap.com/thread/3712393
Don

Similar Messages

  • Is it possible to remove my hard drive from the Macbook and install it in a new Macbook Pro?

    I currently have a 2009 Macbook and am wanting to upgrade to a new Macbook Pro.  I have upgraded my hard drive in the macbook to a 500gb and have a duel boot with Windows 7 installed with Boot Camp along with other software that I do not want to lose.  Is it possible to remove my hard drive from the Macbook and install it in a new Macbook Pro?

    A much better solution is to hook your two Mac together and the first time you start the new Mac and it asks if you wish to recover data from another Mac, answer yes. This will invoke Setup Assitant which will do the job for you but intelligently.
    I know because I just used Setup Assitant. It worked like  a charm.
    Allan

  • Is it Possible to remove your data package from your smartphone?

    Is it possible to remove you data package from your smartphone. It doest work well where i live, but i love my phone.

    rcschnoor wrote:
    No, you must have a data plan on Verizon if you have a smartphone.
    Actually this also applies to at&t, t-mobile and Sprint.

  • I have got a lot of apps, which are not installed on any of my iDevices anymore. is there a possibility to remove all those apps from iTunes without searching which ones are, and which ones aren't installed on one of my iDevices?

    I have got a lot of apps, which are not installed on any of my iDevices anymore. is there a possibility to remove all those apps from iTunes without searching which ones are, and which ones aren't installed on one of my iDevices?

    Assuming all the device(s) have been synced to this computer as its Home computer. The easiest way would be to delete all the apps from iTunes. After which connect your device(s) to the computer (iTunes) and transfer purchases from the device(s) by right click (control click) the device name in the left sidebar and the click transfer purchases. When done only the apps on your device(s) will be in you iTunes library.
    Hope that helps

  • Is it possible to remove a web site from Safari's list of fraudulent sites?

    Is it possible to remove a web site from Safari's list of fraudulent sites?
    Thanks in advance,
    Behi

    Are you trying to access a blacklisted site? You can uncheck "Warn when visiting a fraudulent website" in Safari>Preferences>Security. I would not recommend that for obvious reasons.

  • Is it possible to remove 'Self-View' softkey from 8945

    Hi All,
    CUCM 10.5.1.11900-13, 8945 load SCCP8941_8945.9-4-1-9.
    Does anyone know if it's possible to remove the 'Self-View' softkey from the 8945 when it's on hook?  Would like to free up a softkey so we can have other functions on the screen.
    Thanks,
    Jonathan

    Ref: http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-communications-manager-version-70/111900-cucm-faq-00.html#
    Q. How do I remove the self-view softkey on the 6945/8945?
    A. When you are on the video call, you will receive the option such as the self view box near the hide video button, and only the box is there. If you click that box, the self view video will disappear. If you press the same box again, it will appear on the screen again.
    -Terry

  • Is it possible to remove the 'soap12' namespace from the WSDL for basicHttpBinding endpoints (i.e soap 1.1 clients)?

    Hello,
    We want to import the WSDL from a running WCF service endpoint (which is using basic HTTP binding) in order to implement the same web service interface in a Lotus Notes application. Unfortunately the proxy generator for Lotus Notes doesn't like the particular dialect of WSDL that our WCF service is exposing, in particular it throws a wobbly when it sees
    xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/.
    Even though soap1.2 isn't being used, the basic http binding is leaving this reference in the wsdl and Lotus Notes seems to think this is a SOAP 1.2 WSDL file even though I know it's a SOAP 1.1 compatible file.
    In order to get around this I'm using disco.exe to pull the wsdl files down locally, manually edit the files to remove this unused name space and then edit all the schema import locations to convert lines such as http://localhost:7780/MEX?xsd=xsd0 to lines such as file://\wsdl\MEX.xsd etc...
    Is there a simple setting somewhere that will remove that 'soap12' fragment from the wsdl? It's a bit of a pain because we are in a development phase and so the WSDL isn't completely stable at the moment and is changing frequently which requires this manual editing stage.
    Thanks
    Paul.

    The following method works correctly for me:
    public class Soap11WsdlExporter : WsdlExporter
        public override MetadataSet GetGeneratedMetadata()
            var metadataSet = base.GetGeneratedMetadata();
            foreach (var metadataSection in metadataSet.MetadataSections)
                var description = metadataSection.Metadata as System.Web.Services.Description.ServiceDescription;
                if (description != null)
                    var namespaces = description.Namespaces.ToArray();
                    var newNamespaces = new XmlSerializerNamespaces();
                    foreach (var ns in namespaces)
                        if (ns.Name.ToLower() != "soap12")
                            newNamespaces.Add(ns.Name, ns.Namespace);
                    description.Namespaces = newNamespaces;
            return metadataSet;
    public class MyServiceHostFactory : ServiceHostFactory
        protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
            ServiceHost serviceHost = new ServiceHost(serviceType, baseAddresses);
            var useSoap11 = true;
            //We only removing SOAP12 namespace only if all the bindings use SOAP11.
            foreach(var endPoint in serviceHost.Description.Endpoints)
                useSoap11 &= endPoint.Binding.MessageVersion.Envelope == EnvelopeVersion.Soap11;
            if (useSoap11)
                var behavior = serviceHost.Description.Behaviors.Find<ServiceMetadataBehavior>();
                if (behavior != null)
                    behavior.MetadataExporter = new Soap11WsdlExporter();
            return serviceHost;
    Hope this helps
    Another Paradigm Shift
    http://shevaspace.blogspot.com

  • How to remove the Failure Chain from report header?

    I want to remove the Failure Chain from the report header. Failure chain displays only the 1st test which is failed rather than displaying all failed teststeps. so i want to remove this failure chain section from the report header.
    Please can anyone suggest me how to remove that. ?
    thanks & regards
    sameer kulkarni

    Hi Sameer,
    I am an Application Engineer at National Instruments and will try and help you with your enquiry.
    Am I right in thinking you want to be able to display all the failed steps displayed in the failure chain and you are using a Test Stand version 2 or later?
    As default Test Stand only reports the first test that failed in the failure chain. However, it is possible to expand the failure chain to show all failed steps. Below is included a KnowledgeBase article that will highlight the process for doing this:
    http://zone.ni.com/devzone/cda/tut/p/id/4563
    Please try the above steps and let me know if this solves your problem. If you require any further assistance please get in touch,
    Regards,
    Aaron. E
    Applications Engineer Team Lead
    National Instruments
    ni.com/support

  • How to remove Built-in-Fields from Report builder report

    I have create SSRS report which is sending email to recipient but at the bottom of report email I am also getting
     report accessible address. I don’t want to send that address to recipient. How should I remove from report builder?
    The report is accessible at the following address
    <<Report address>>
    Rahul

    You have to change the report subscription, and untick the checkbox that says to also send it as a link.

  • Is it possible to remove a keynote presentation from my iPad, but to leave it on the cloud?

    I have got very little memory left on my iPad, and there is lots tied up with Keynote presentations. I don't want to delete them permanently, but I do want them removed from my iPad - can anyone suggest how I can do this please?

    In Keynote, tap Presentations top left
    tap Edit top right
    tap the file to be deleted
    tap the trash
    tap Delete Presentation.
    Do not rely on iCoud for storing files, it is a distribution system, not a long term store.
    This is the Mac discussion, for future questions about the iPad, use the Keynote iOS discussion.

  • Is it possible to remove unseen font references from an .fm file?

    We have used a Framemaker book template that was created about 15 years ago to create technical manuals. We've modified this template many times. It's pretty complex, but the main purpose is to keep the appearance, structure, etc., consistent among mulitiple writers. It works well.
    We originally used Times and Helvetica as the primary fonts. Now we're using other fonts. It was a tedious job to replace all the instances of Times and Helvetica in the Paragraph and Character designers.
    Here's the problem:
    Theoretically, these fonts should be gone.
    But if I open the template files, even with no content, I get this message in the Frame Console:
    xxx Font is not available.               (where xxx is Helvetica or Times or variants)
    zzz will be used in this session.
    I didn't see this problem until today, because my computer was just reimaged by IT and so I no longer have these (Postscript) fonts installed. Frame thinks these fonts are still used in the various .fm chapters. But, it should not need them.
    I got to thinking about how old our template is and so I "examined" one of the template files, chapter.fm. I renamed the file chapter.txt and was able to open in with Notepad. I found about 40 references to Helvetica buried in Frame's code (some of it "machine language"). This was certainly revealing. My real question is, is there anyway to purge the files of these font references? The file structure is totally complex and I would not think of editing these files. I'm sure this would not work, and Adobe would probably arrest me if I did.
    Is there a MIF editor or similar that could do this?
    I could reinstall these fonts as a workaround, but they're really not used and so I would rather purge the font references if I can.
    Someone may say: Create a new template. If we did, we would want it to be the same as the one we have. It is complex enough that we just cannot take the time to do this. It would take days and days.
    Thanks for any help.

    Bill,
    Many years ago I had a similar problem. I solved it by saving the file to mif and then opening the mif file with NotePad or WordPad, then searching for instances of the old font. These usually appeared as a toggle on and a toggle off without any text between them. So, I deleted them and opened the mif file and saved back to fm. I did not take the opportunity to determine exactly where these instances were in the file. They can be anywhere..body pages, reference pages, master pages, etc.
    NOTE that if you take the above route and then import your template into existing files, the instances in existing files will still be there because it cannot copy in something that does not exist.
    When you say, "This will blow away the old references," do you think it would get rid of the numerous references that are unseen in the .fm file (unless you look at it in Notepad)?
    No, the references are still there, but you have changed them to a different font, one that is on your system. Arnis' point is that this is a simple way to get rid of the console messages because the assumption is that such font references do not display in your document so are likely inocuous.
    Van

  • How do I remove a blank page from a section of 4 pages? (Pages)

    1 page (page 4) in a section of 4 pages is blank.  How do I remove that page only?   I followed the help instructions; but was asked if I was sure I want to delete pages 1-4.

    What version of Pages?
    What instructions? It sounds like you have got the wrong ones and are trying to delete a page in the Thumbnails, which will delete th entire section.
    If you have a blank page in a Word Processing template, it is because there is some text on it, even a return, tab, space or page break:
    Menu > View > Show Invisibles > backspace over whatever it is to get rid of it
    Peter

  • How to remove the buttons coming from report program?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Goto sicf ->sap->bc->gui->sap->its->                              
    open Webgui application                              
    in the GUI Config enter the following parameters.                              
    ~noHeaderOkCode = 1                              
    ~webTransactionType = EWT.                              
    All buttons can also be removed by ~webgui_simple_toolbar =0 ..                              
    Also now open the trancsaction of the program form SE93 for which you want to hide                               
    the Menu bar, in its properties select the EASY WEB TRANSACTION radio button.

  • Is it possible to remove leading 0's?

    If I have a column called id_inst in tableA of type String
    and having a value of 0000203,is it possible to remove
    the leading zeroes from it?
    Select LTRIM(id_inst, ??
    Is this possible?

    There is of course no need to strip leading zeroes before storing a numeric value into a number datatype since Oracle will not store leading zeroes anyway.
    How a numeric value retrieved from the database is display is completely under the control of the requester via the to_char function:
    UT1 > select fld2, to_char(fld2,'009') as c2, to_char(fld2,'999.99') as c3
    2 from marktest;
    FLD2 C2 C3
    1 001 1.00
    2 002 2.00
    3 003 3.00
    5 005 5.00
    6 006 6.00
    HTH -- Mark D Powell --

  • Remove Header and footer from Word Docs

    Is it possible to remove the header/footer from Word docs?
    The html output from ctx_doc.markup gets the header/footer and (specialy)page numbers all messed up.
    []'s
    thanks

    Please define 'messed up'. I'll reproduce here and then try to find a cause/solution. I checked a couple of other forums and Metalink with no good discussion on the topic.
    -Ron

Maybe you are looking for

  • Cannot send email to bcc: list without an address in to:

    I've been trying to figure out how to send an email from my iPhone (3G) that only has recipients in the bcc: field, not in the to: field, but the send button stays grayed out until I enter an address in the to: field. I tried just entering "null" for

  • How to use the filter facet on af:column

    I have a column in my VO that is defined as a boolean and that shows as a selectBooleanCheckbox in my table. My table has filters on but above the boolean column it shows a regular input field. I checked the filter facet and i also put a selectBoolea

  • I am trying to install Real Player onto my MacBook Pro

    Reason is toaccess RTE Lyric FM radio station. I have not had success. if anyone has had similar problems and can offer installation assistance i would appreciate it. thank you.

  • HP 2509m Monitor Freezes

    Hello,  My monitor keeps shutting off when I am either watching a video, or when there is an extended amount of animation on the screen, including simply closing a window. I am trying to track down the issue. Is it the response rate? Is the screen si

  • Using local variables with a case structure

    I recently decided that I didn't want to nest a bunch of case structures for a program I am creating. I have two variables, N1 and N2, and I want to say execute Case 1 if the integer input to the terminal is less than N2. Case 2 if the integer input