Dynamically hide sections - CR 2008 Basic (10.5)

Hi Guys,
Enviroment:
- Crystal Reports 2008 Visual Studio Basic Edition (10.5)
Scenario:
- I have two or more product groups
- for each product group I've designed a report
- "Product group A" contains the fields "A" and "B" while product group B contains the fields "C" and "D"
This is not really difficult, but now I met the following challenge:
- I've to implement a bulk export to pdf file format
- Mixing the Product Groups should be possible
Me first thoughts were that I've to merge the reports for a bulk export to the pdf file format, but now I think this isn't possible. Now I'm thinking about building a new report with each field "A" to "D" in a separated in sections and hiding each section, if the one field contains no data.
For a single product, this works fine with C# and the following code:
ReportDocument report = new ReportDocument();
if(field A == "")
report.DetailSection1.SectionFormat.EnableSupress = true;
After that a build my DataSet and pass the DataSet to my report. This is why dynamically hide the sections only works with the first product in the DataSet. All other products will be displayed like the first one, even if there should be other sections to show.
Is it possible to define within the report that (with no code behind class), if a DataField contains no data the parent section should be supressed?
I hope i could explain my problem reasonable...
Kind regards,
Christian

Ok. A bit of a warning to anyone trying to follow in Edgar's footsteps.
This is a dangerous path to take (working with CR XI r2 and .NET 2008). I've seen cases where this works for a time, then mysteriously stops working. Works on one box, not on another. Also be aware that should you need to create a phone case, you will not be able to with this set up (E.g.; unsupported). If you find something in this environment that you suspect is a CR bug, it will not be escalated to R&D for a fix.
So, I'm not trying to do a sales job here, just throwing out a warning. Due diligence and all that, to be technical about it...
Ludek
Edited by: Ludek Uher on Apr 8, 2010 1:28 PM

Similar Messages

  • How to install CR 2008 Basic on web Server

    Hello,
    I'm a web developer using Visual Studio 2008 .NET. Need to install Crystal Report 2008 Basic on web server and can't. Is there any .msi on sap.com to download and install on my web server?
    Thank you

    Hi,
    You can find the MSI's over [here.|https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20for%20Visual%20Studio%20.NET%20Runtime%20Distribution%20%20-%20%20Versions%209.1%20to%2012.0]
    Sincerely,
    Nikhil Dharme

  • Can iBooks Author hide sections of a book to be revealed only after the user selects a correct choice?

    Can iBooks Author hide sections of a book to be revealed only after the user selects a correct choice?

    K T wrote:
    'downside'....really?
    Well, yes, in the sense that simplicity has a price: it comes at the cost of reduced functionality. (If all the functionality were still there, things wouldn't be as simple; it's an inevitable trade-off.) It looks like IBA was designed with the iWeb philosophy: make simple things really simple, and leave out the stuff that's too complex to control for non-experts. The upside of course is that non-experts can use the tool really easily.
    K T wrote:
    No pain - no gain. You didn't come up with the content for your books without putting in fair time
    Sure. But almost all that effort went towards creation of the content, not towards laying it out with IBA (which was remarkably easy). So, in that sense, IBA more than met my expectations. The things it does do, it by and large does really well, and without much expertise needed on my part. The only thing that was complex was the HTML widget, which took some programming. But that's entirely my own fault, not IBA's
    Michi.

  • How to dynamically hide the Field Label in the overview page's form view?

    Hi Experts,
    How to dynamically hide, for certain condition, the Field Label in the overview page's form view?
    Please reply me.
    Regards,
    Vishal

    Hi Vishal,
    It is not possible to dynamically hide/display fields if the UI is build using configurations.
    The work around is to have multiple configurations, and based on the condition, load the
    corresponding configuration at runtime.
    The other approach is to code the complete htm view(htm coding) without using the configuration provided by the framework.
    Regards,
    Leon

  • Dynamically Hide IR Columns

    Hello,
    Is it possible to dynamically hide IR columns. Here's my situation:
    I have an IR report that has roughly 60 columns. However, based upon the parameters passed to the report, only about 20 - 25 columns have data in them. The remaining columns contain all Nulls. I want to display only those columns that contain data, and hide those that contain ONLY Null values.
    I tried using conditional displays, using column_name is null but it hides the columns whether it contains data or not.
    Has anyone else done this, or have a suggestion as to how I can dynamically hide columns based on whether the column contains data? Thanks in advance for any assistance you can provide.
    Bob

    One way is to create an apex item for each column that you think it may contain null in all rows.
    Use that apex item in the conditional display of your related column in interactive report.
    Regards,
    Salim

  • Hide Section where the data in section in NUll

    I have read a couple of threads but my issues still persists. I am using Business Object XI (infoview)  I want a report to show printers by the model of printer, I have created an object called Model which is based on 2 other fields (both have model details in them. I set the Model field as the section and the report shows as below
    Model 1
    Serial Number /  Receive date / Manufacturer
    Model 2
    Null
    Model 3
    Serial Number /  Receive date / Manufacturer
    I want to be able to remove "model 2" from the report. I go to the section properties and go to display, I " un tick show null field" and I go to 'Hide section when the following are empty'  and check this but the only options I am given in the drop down are the model or block1 when I select either or both the section that I want to suppress is still visible.
    Is there a way to get any other values in this dropdown, I have read about something called hide block but I am not sure what this is or even if it is an option in Business Objects?
    Thanks

    Hi Adam,
    I had the same problem myself and have found out how to resolve it.
    To hide a section where the data in the section is null you need to apply a filter on the data at the report level, not the section or table level if you had a table in your section.
    In Infoview (which is Webi in a web browser, usually displayed in HTML):
    1. Go into Edit mode
    2. In the left pane click on the 'Document Structure and Filters' button
    3. Add a new filter at the report level (not on the section or the table) to filter the null data out (in your case WHERE Model Is Not Null)
    Your report should now only show you the sections that actually contain any data.
    Regards,
    Chris

  • Achieve the tab order for dynamically added section

    Hi friends,
    I'm facing the issue with tab order.
    How to achieve the tab order for dynamically added sections?
    Could you Plaese suggest me in this.
    Thanks,
    Susila S

    Hi,
    Thanks for your reply.
    Ya. I'm adding rows in a table dynamically which is grouped in a subform which is flowable and the buttons are placed in the same subform. At the end of the row I'm having the hidden fields.
    So what I want is without focusing the tab on hidden field I want to traverse the first field of the next dynamic row. For that I have used the access property as protected on hidden field, but its not working properly.
    Please help me on this ASAP.

  • How do I convert a dynamic disk back to a basic disk (how do i back up a dynamic disk)

    Hi
    I have "accidently" converted an internal disk to dynamic and cannot see any of my data. I want to see the data. I presume I need to convert it back to a basic disk?
    on this forum and others the solution seems to be back the data on the dynamic disk up, convert it back to basic and restore the data after. Yet, the only place I can see any signs of the disk is within disk managment.
    If I run Backup it dosen't see the disk.
    any suggestions would be gratefully received!
    I am running Win7 home dual boot with WinXp pro
    Thanks, Jason

    Hi,
    you must backup all data and delete the volumes on it:
    How to Convert a Dynamic Disk to a Basic Disk
    To change a dynamic disk back to a basic disk:
    Back up all the data on all the volumes on the disk you want to convert to a basic disk.
    Log on as Administrator or as a member of the Administrators group.
    Click Start , and then click Control Panel .
    Click Performance and Maintenance , click Administrative Tools , and then double-click
    Computer Management .
    In the left pane, click Disk Management .
    Right-click a volume on the dynamic disk that you want to change to a basic disk, and then click
    Delete Volume .
    Click Yes when you are prompted to delete the volume.
    Repeat steps 4 and 5 for each volume on the dynamic disk.
    After you have deleted all the volumes on the dynamic disk, right-click the dynamic disk that you want to change to a basic disk, and then click
    Convert to Basic Disk .
    NOTE :You must right-click the gray area that contains the disk title on the left side of the Details pane. For example, right-click
    Disk 1 .
    Source:
    http://support.microsoft.com/kb/309044
    http://www.sevenforums.com/tutorials/26829-convert-dynamic-disk-basic-disk.html
    The same applies to Windows 7.
    André
    "A programmer is just a tool which converts caffeine into code"
    Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221

  • Show/hide Section depending upon a field Value

    Post Author: breathshadow
    CA Forum: Formula
    Hi I am not very good at Crystal Reports.Basically this is what i have to do.in the Details Records if i find Certain Text in a Field,I have to show a section or else..Hide it.here's the formula I useWhilePrintingRecordsglobal showDisbCreditSection as numberselect case UpperCase({INVOICE_LOG.LINE_ITEM_TYPE})case "HCDC", "LIDC", "SLDC", "RHCDC" showDisbCreditSection = 1 'set it to 1 as we found a record which contains one of these 4 Itemscase elseif (showDisbCreditSection <> 1 ) thenshowDisbCreditSection = 0end ifend selectformula = showDisbCreditSectionthis works ok if the User will Request 1 Report a Time. If they request the Report say in a "Between" Queryie, FieldX between 1 to 10the Formula Falls over.please show me some techniq to reset the showDisbCreditSection variable each time a new Report is Started in a continuous Report generated with a Between Query from Select Expert of CR 8.5thanksDeepak

    Hi,
    Declare a flag value is false at starting when your condition occur make that value as true. In if condition mention if flag = true skip that line(out side the loop).
    Use flag logic.
    Thanks,
    RamuV

  • Drill down report:hide multiple line from basic list and disp in secon list

    hi experts ,
    I was using checkbox in basic list and user is suppose to check or tick the checkbox .
    So in the secondary list I want to display only those row which which are selected (or checked) in checkbox  by the user .
    I had tried to use HIDE techineque but it is storing (or hiding) only single (the last which was checked) row and not multiple rows , thats why only single row is display on to secondary list .
    So how to hide (or store) multiple row in secondary list to solve this problem  .
    thanks and warm regards ,
    mehar .
    Edited by: MEHAR RALEKAR on Sep 24, 2008 5:37 PM

    Hi,
        You can include the Checkbox field in your Internal Table of type i and when the AT LINE-SELECTION is generated, check for those entries in your internal table with the Checkbox = 'X'. Move them into a Separate Internal Table and Display them in your Secondary List.
    Hope it was Helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • How to display data in table with dynamic rows, section wise in a page.

    Hello all,
    I work on report creation in BI Publisher where I need to display data from xml in a table in pdf format.The output page is divided into two vertical sections , containing tables, with exactly same columns on left and right sections. The number of rows in table depends on the output of the fetching query. The page is to be populated in such a way that, at first, the left table is populated, then the next rows fill up the table on the right section of the page, if more rows are left, they fill up the tables on next page[first the left table, and then the right one, in a similar fashion as in page 1]
    On a bird's eye view, the data needs to be simply mapped to a table, with dynamic number of rows, and so can span number of pages depending on size of data. On a implementation level, I am stuck in getting the left section of the page populated first, then the right section[in place of the right page], and then the next page.
    Please guide me if someone has any idea in getting this achieved.
    Thanks in advance.

    Thanks for the response...
    I am able to get the desired functionality. I just need the tables to be inside a bigger table, that also has a dividing line between the two columns. This is was is intended in the req. provided to me. The column formatting option provides me a line ,but that is not further modifiable .Please help me in getting a perpendicular line between the two columns, which I need to be of a specified width and color.

  • Dynamically hide a block in selection screen

    Hi All,
    Can we hide a whole block in a selection screen dynamically.
    If so, then how?
    Regards,
    Bhaskar Tripathi

    Hi,
    Refer this code
    *&      Form  sub_select_report
          text
    FORM sub_select_report .
      IF ( p_post  EQ c_chk ).
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'MD1' ) OR
             ( screen-group1 EQ 'MD2' ) OR
             ( screen-group1 EQ 'MD3' ) OR
             ( screen-group1 EQ 'MD4' ).
            screen-input   = c_ok.
            screen-active  = c_ok.
          ENDIF.
          IF ( screen-group1 EQ 'MD5' ) OR
             ( screen-group1 EQ 'MD6' ).
            screen-input   = c_1.
            screen-active  = c_1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF p_rpt EQ c_chk.
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'MD5' ) OR
             ( screen-group1 EQ 'MD6' ).
            screen-input   = c_ok.
            screen-active  = c_ok.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " sub_select_report
    Regards,
    Prashant

  • How to hide section based on prompt selection

    Hi All,
    I have a requirement to hide the section based on selection of the prompt . My scenario is like i have 1 dimension table and 10 fact table joined to that dimension table. each fact table is having one code of the dimension table.
    I have 10 different reports in 10 fact tables. i have defined a prompt on the dimension table , if i wil select a particular code in the prompt then it will show me that particular fact table report .
    For that i have done 10 reports and i am showing in 10 different section . Now i want to hide the section based on selection .
    If i can put all report in one section and based on selection i can show the report that will be also ok for me ...
    Please help me ...

    Hi ,
    i am able to show the section based on prompt selection . But in my current scenario i have 300 reports based on 300 fact table . If i will put all my report in a dashboard it will fire 300 queries to data base . It will become a performance issue . and one more thing is , does OBIEE support 300 reports in different sections in one page.
    Please help me ...

  • After rendering a Dynamic Link section in Premiere, can I re-edit?

    The premise...
    I had finished my After Effects portion of the dynamic link process and naturally, wanted to see how it jibed with visual elements in my premiere project. But there was a problem with the delay in play-back as the effects were not able to play in real-time in Premiere. It was sticking or stuttering or would just get stuck where that orange bar kept filling left to right.. Btw, my computer has plenty of power and meets the requirements. I also, lowered all the playback features to the lowest denominators like quarter resolution, half, reolution etc..
    So i had no choice but to render just only that liniked section. 
    Afterwards, it played beautifully, of course. But now I want to make some edits and tweaks, and this is where my contention lies.
    MY QUESTION is: how do I go back n' forth from PR and AE to watch and re-watch and edit, do I un-render it, then render again, or do I throw it away (the rendered version) and upon doing so, will that section reappear because the link will remember it? 
    Does it re-link again, if i choose to delete it? But that doesn't make sense because I had to choose that area first in Premeire THEN drop it in AE, thereby linking it as the source. So if I threw it away, would After effects go blank?
    I hope this makes sense.
    Thanks ahead of time..
    Best,
    Drew

    I too am tinkering with Dynamic Link recently. My question is similar to Drew's, but in a different form.
    Lets say, once your done in AE and go back to PrP, and you want to edit the original layered material in PrP to add another shot or two to your effected AE comp. I understand in PrP you can right click on the linked AE clip and choose edit original, but that does not bring in all of your projects media files to AE. Just the clips you previously had selected before linking.
    How would one get back to the original PrP sequence before you "linked" for AE? (like clicking a nest sequence to open all your layers). Is the only way to save a copy of your original sequence before linking? 
    Thanks,
    Pete

  • Portal Tabs - Dynamic Hide/Display

    Hello:
    We have a Portal Page Group with multiple TABS. We like to be able to display/hide (or enable/disable) tabs based on the Portal Roles assigned to the current user.
    Is it possible to Hide/Display tabs dynamically based on certain conditions? What is the best way to enforce this without creating multiple page groups?
    Thanks

    The only way I know to conditionally hide/show tabs is to grant access on each tab to one or more groups. The tab will then only be displayed on the page to logged-in user that is a member of a designated group for that tab. (Portal admins will be able to see all the tabs.) If there's another way to hide/show tabs based on other criteria - I'd like to know too! :-)

Maybe you are looking for

  • Unable to boot on Mac Os X DVD

    Hi, i've bootcamp (lastest version), i use rEFIt to choose from wich partition i'll boot. My problem is, can't boot on Mac Os X partition anymore. I got the white screen with the Apple logo, and nothing else.. but i can boot on Windows XP ! I tried t

  • Unable to install Intel Dynamic Platform and Thermal Framework on Yoga 13

    I recently purchased a Yoga 13. I just got Windows 8 Enterprise installed on there. I am unable to install Intel Dynamic and Thermal Framework. I downloaded this directly from Lenovo Support (the file is labeled "Dynamic Platform and Thermal Framewor

  • How do I convert a jpg to a pdf

    how do I convert a jpg to a pdf

  • Compressor 1 or 2

    Is it only compressor 2 that allows dolby ac3 compression - I have compressor 1 and can't find the option. I have exported an audio file of 362 megabytes but by the time I import it to FCP it reads as 1.5 gig - too weird for me any help anyone all I

  • Got stuck on rerun PXE boot

    Required OSD TS work flawless except one thing: If PC got error on first PXE-PE loading step (missing network driver or required package) i can`t force that PC to re-run PXE deployment, except redeploying TS on OSD Collection. It always shows me abor