Sub Regions and Conditionals

Greetings. Having an issue with conditionals and sub regions. Using apex 4.2
I have a region (Deployments) that has several items and a few buttons (Button A, Button B, etc). I need to conditionally show Button A. I have a sub region(People) that is a report of people deployed. I need a button to show in the Deployments region, that if there are no people in the report (i.e. People_ID is null) then the button won't show. I tried using a conditional, but am having no luck. Please help. Thanks in advance.

NewApexCoder wrote:
Greetings. Having an issue with conditionals and sub regions. Using apex 4.2
I have a region (Deployments) that has several items and a few buttons (Button A, Button B, etc). I need to conditionally show Button A. I have a sub region(People) that is a report of people deployed. I need a button to show in the Deployments region, that if there are no people in the report (i.e. People_ID is null) then the button won't show. I tried using a conditional, but am having no luck. Please help. Thanks in advance.Our crystal balls are being repaired. What did you try?
When asking a question you need to provide sufficient information:
<li>How to ask questions
<li>{message:id=9360002}

Similar Messages

  • Standard jQuery tabs and an interactive report as a "tab" sub-region

    Hi all,
    I have a standard, simple implementation of jQuery tabs following the exact instructions by Patrick via this thread:
    Re: New themes in APEX 4 not working with JQuery tabs
    As one of the "tabs" (sub-regions), I want an interactive report. I use "no template".
    Problem is that when the IR is in a tab, the pop-up column menus and such are no longer aligned, e.g. I click one of the column headers of the IR and the pop-up menu shows up much lower on the screen than it should -- sometimes off the screen if I have another region above. Can anyone assist? Maybe it's a DIV tag conflict between the jQuery template and the built-in IR?
    Here is my example app:
    http://apex.oracle.com/pls/apex/f?p=19782:1
    Also another issue I've never seen quite resolved -- on "tab2" in the above app, you see what happens when you actually use a template in the sub-region. It breaks off the encompassing parent tab.
    Sorry, if I was more savvy in the display options, I could probably solve all this -- so I'm hoping somebody else is or has already solved it and can share. Thanks so much!
    David

    If anyone is interested, I finally found the answer to this issue. It's all here:
    http://www.apex-blog.com/oracle-apex/using-jquery-to-fix-broken-apex-interactive-report-drop-down-menus-150.html
    Very special thanks to Stephen Blair (who owns the blog above) for the simple solution! Thanks Stephen!
    David

  • Sub-Region in a query

    Hi All,
    I have to write a query wherein I have to use Divisions in the rows.
    Now in my system I have these Divisions defined. But furthermore the requirement says that the data should be displayed at sub-region level.
    these sub regions of a region are based on the customer codes.
    For example, if customer code is HBV2XYZ then sub region is North and if it is HBV8XYZ then the sub region is South etc.
    Now, in my Sales cube I have data at divsion level and Custmore sode is also there in my cube.
    How do i write this query which should give me data at the above defined subregion level which is nothnig but customer code?
    Thanks and regards,
    Sharmishtha

    Sharmistha,
    Did not see that in your mail earlier -
    Considering that the Customer sub regions are coded into the Customer codes... and this being for customer data - it sould be better is you had a transfer routine as Edwin Harpino suggested and store the same as a nav attribute on Customer master - that way if the customer master changes - you need not worry if the customer shiufts across regions etc - that is of course depending on your requirement...
    You could use a virtual Characteristic otherwise. And is this in Excel or the Web - if it is in WAD - you could use the table modifier to achieve the same....
    Arun
    Assign points if useful

  • Interactive Report Sub-total and total

    Hi friends,
    I have an employee interactive report with group by job name and also showing the salary sub-total for each and every job(group by).
    I have an requirement like to highlight the sub-total for each and every job with a background color so that the user can identify the sub-total with the color, and also whether it is possible to display an overall total @ last in the report with a label named "Total Salary" in which it calculates the overall salary is also to be highlightened with the background color.
    Also is it possible to display a text "Sub-total" besides each and every salary sub-total  of job(group by). Currently if we display a sum for the salary then im getting the total's but with out a text named total.
    Since i can see the highlighted feature in interactive report but im not sure how to apply it for the sub-total and total column.
    I have reproduced the example in apex.oracle.com
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    In the application 9494 named "test" in page1.
    Thanks in advance.
    Brgds,
    Mini

    Hi, Mini,
    style=background-color:red;
    But that Total region color dint change.The code for style should be in "Form HTML Element Attributes". However, this changes the background color only for the Total value not for the whole row.
    If you want to change for the whole row, you need to change the template that is selected for the region.
    I changed the region template in your application to "Borderless Region" and made the changes to the "Borderless Region" template, it now shows the background color for Total Value.
    <table class="t20Region t20Borderless #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" border="0" cellpadding="0" cellspacing="0" summary="" #REGION_ATTRIBUTES#>
    <thead><tr><th class="t20RegionHeader" id="#REGION_STATIC_ID#_header">#TITLE#</th></tr></thead>
    <tbody id="#REGION_STATIC_ID#_body">
    <tr><td class="t20ButtonHolder">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td></tr>
    <tr><td class="t20RegionBody" style="background-color:orange">#BODY#</td></tr>
    </tbody>
    </table>The below does the trick. :)
    <tr><td class="t20RegionBody" style="background-color:orange">#BODY#</td></tr>Note: I made the changes to "Borderless Template", but you can copy the template to your own and apply this change.
    Regards,
    Natarajan

  • Align sub-region Right

    How can I align a sub-region to the right? On an order form, I want to show the line items followed by various other items in the bottom right corner.
    Also, is it possible to align the page items to the right instead of the left within a region?
    Thanks,
    Gregory
    Nudged by Gregory on May 24, 2011 3:54 PM

    for horizontal + vertical alignment I use this little gem of a layout manager:
    [http://www.java2s.com/Code/Java/Swing-JFC/AverticallayoutmanagersimilartojavaawtFlowLayout.htm|http://www.java2s.com/Code/Java/Swing-JFC/AverticallayoutmanagersimilartojavaawtFlowLayout.htm]
    Simple and effective. It can even stretch components on demand.

  • How to Control Width / Align rightmost edge of sub regions on a page ?

    Hi folks
    Am Apex newbie using Oracle XE and 4.0.1 Apex to develop app on laptop before deploying to production.
    I have a page with region display selector and multiple sub-regions.
    Am using Theme as per the Issue Tracker packaged application.
    Problem is that my subregions on page align on left hand side but the subregions widths are different ... therefore page looks a bit scrappy / unprofessional as regions look a bit like
    XXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXX
    Is there any way to control / make the subregions widths the same so that screen looks better.
    Have spent ages moving individual fields on page to try and force sizes to match but with no luck .. so any help would be gratefully received as always.
    Thanks

    Hi-
    I was trying to align sub-regions side-by-side, I followed what Patrick suggested to put the following in the region's sub-region template.
    <div> #SUB_REGION# </div>then to be enable to put the subs side-by-side I had to put the following in the regions attributes.
    width: 300px; float: left
    that would align the subs side-by-side, I tried to change the template so I can use the attributes
    <div#REGION_ATTRIBUTES#> #SUB_REGION# </div>but when I ran the page I can see the following in the Firebug.
    <div #region_attributes#="">so no effect, am I missing something or what.
    Regards,
    Omar

  • 2 differently aligned sub regions on a region in the same line

    Hi!
    I would like to place 1 region aligned on left, 1 on the right of a parent region. I added style="float:left/right" to sub regions.
    <div>
    #SUB_REGION#
    </div>
    is added to parent region's sub regions template.
    If I leave this way, then They are eligned correctly, but not in the same "line", but under each other. If I add style="float:left/right" to sub regions template, than sub regions will aligned side by side, but I can't force to place in the same line one left, one right.
    What is strange, than if float added in region's sub regions template, (side by side), and change float of on of the sub regions in firebug, that appears good.
    How to do it correctly?

    selection-screen : begin of block B1 with frame title TEXT-001.
    selection-screen : begin of line.
    selection-screen : comment 1(23) TEXT-001.
    parameter        : P_01 radiobutton group R1.
    selection-screen : comment 30(8) TEXT-001.
    parameter        : P_02 radiobutton group R1.
    selection-screen : comment 42(10) TEXT-001.
    parameter        : P_C01 type rlgrap-filename obligatory.
    selection-screen : end of line.
    selection-screen : end of block B1.
    Change the text elements accordingly
    Regards
    - Gopi

  • Master Region for sub regions

    I have four sub region which belong to a master region. I would like give a title to master region and have a border outline for this master region which includes all four sub regions. is this possbile, any ideas are appreciated.
    thanks for your help,
    Surya

    thanks Arie, that's helpful. it works when I have all the regions displayed in "Column 1". is it possible to to apply similar technique, when I have three regions, top two regions displayed in column 1 and column 2 and third region at the bottom displayed in column1?
    thanks for your help.
    Regards,
    Surya

  • Crystal report(Can i link sub report and main report Compulsorily) - invalid path

    hi.
    i need small clarification.
    i am developing one Crystal report
    main report i took it from rdr1 one table...
    report is working fine..
    Sub report i took it from inv1 one table.
    i have not linked any fields from these tables.
    May be it is having links in b1..
    but in my other report both the tables.... from main report  and sub report does not have any relation.
    My Questions is..
    Can i Compulsorily link fields to main report...
    if both does not have any relation what should i do...
    i took two tables.
    main report rdr1
    sub report inv1...
    if i  run the report it is asking two parameters one is for sub report and other one for main report working find in crystal report.
    but...i want to run the report in b1.
    while importing i am getting the error (Plz have a look on below image)
    if i choose any other report it is importing  fine...
    Clearly i am mentioning i dont want to link both tables there is no links between two reports...
    in this scenario can develop  a report..
    I need your Valuable suggestions.
    here below u can find my developed sample report...
    http://www.megafileupload.com/en/file/544758/NewReport-rpt.html

    hi.
    If i try only i am getting the error..
    out side if i run i am able to run the crystal report but
    in b1 i am not able to import the report.
    you can also try my report
    from below link u can get my simple report.
    if u find any mistake what i have done plz inform me..
    http://megafileupload.com/en/file/544806/NewReport85-rpt.html

  • How to get the values from table region and how to set

    Hi,
    I have a requirement as Seeded Page Having One Table Region having around 8 columns, In That Item Description field is there. My Requirement is I need add one more field for that Region and assign the value depending Item Description.
    I will create one new Item in that region and will give name as Item, But how to set the values to Item Depending on Item Description.
    Is it possible to through CO Extension, If yes..Pls help how to get it.
    Thanks in Advance,
    Hanimi

    Hi Hanimi,
    1. You need to extend the VO, add a new Attribute.
    2. In VORowImpl of the extended VO, you can find the getter for your new attribute (example getItem())
    3. In this getter method you can write some code like:
    if("ABC".equals(getItemDescription())
    return "XYZ" ;
    -Prince
    http://princekapoor82.blogspot.com

  • Simply way to make sub vi and call it form main vi

    I'm a beginner and have major problems to make a sub vi and call it from main vi. I'm going to do a save dialog where is extra info for my saving and want to call dialog from main vi and after that save info to a file or database. I want that save dialog appears after i press button. I attach sub vi where is no functionality yet.
    Attachments:
    save_dialogsub.vi ‏21 KB

    The first step is to connect the controls and indicators that you want to pass information to and from your main vi.
    You right-click on the icon at the top right corner of the Front Panel and select "Show Connector". Typically put inputs at the left and outputs at the right side of the connector pane. Save it.
    Open the main vi. Go to the block diagram. Click on "Select a vi" inside the Functions Palette. And choose the sub vi you prepared. Then wire it up inside your main vi.
    -JLV-

  • Sub-VI and main VI

    My main VI calls a sub-VI. I used the get control value (variant) to get the graph in the sub-VI, and output it to the main VI in a cluster. I set the maximum y scale in my sub VI, and it works. But when I get the graph in the main VI, my maximum y scale doesn't look right. Shouldn't I get the same graph that I got from my sub-VI. Is there a way to fix this? Thanks

    > My main VI calls a sub-VI. I used the get control value (variant) to
    > get the graph in the sub-VI, and output it to the main VI in a
    > cluster. I set the maximum y scale in my sub VI, and it works. But
    > when I get the graph in the main VI, my maximum y scale doesn't look
    > right. Shouldn't I get the same graph that I got from my sub-VI. Is
    > there a way to fix this? Thanks
    The Get Control Value function just returns the value, not the other
    properties. Other postings point out what you probably want to do.
    Greg McKaskle

  • I reset and erased my iphone 4 and now I can`t reinstall it! After I choose a language, region. and wifi, it says Please, try again later or contact customer care

    I reset and erased my iphone 4 and now I can`t reinstall it! After I choose a language, region. and wifi, it says Please, try again later or contact customer care. I tried to do with iTunes, and iTunes even sees this iphone, but it`s like blank, there is nothing I can do in iTunes. It uploaded last software for this iPhone 4, but when it tries to do the reserve copy of iphone first, it shows a mistake. And ask to disconnect and connect the device again, which, obviously, doesn`t help.

    This usually happens if the phone has been Hacked / Jailbroken / Modified...
    Is this the case...?
    If so...
    Then... Sorry... But...
    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    You will need to look elsewhere.
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743

  • Help with Managing sub accounts and The page isn't redirecting properly

    Anytime I try to make a new sub account, and I click on "Sub Accounts" I get this error:
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
        *   This problem can sometimes be caused by disabling or refusing to accept
              cookies.
    Before you ask, I'm a bit of a PC geek, I tried in both FF and IE8, same result, checked cookie settings, and they are NOT disabled etc.
    Any ideas?      
    Solved!
    Go to Solution.

    Cookies are normal. The only exceptions are for SU.
    I found a way to manage the sub accounts. Through Yahoo. Which is completely asinine. Why do I have to go to Yahoo's page when IT'S RIGHT IN MY VERIZON!?
    I wish I could "unbrand" my dsl service.

  • Remote Site with its own CUCM Sub#2 and Router network failed and the site didnt keep its phones active, need some assistance

    I have a Pub and 2 Sub's.  Sub #1 is with the Pub, at the main site it is our TFTP server, Sub #2 is at a remote site with about 100 users along with a router and 2 PRI's for outbound calls.  We had a network failure between the main site and the remote site and all phone lost their registration with the system until we were able to get the network back up.   Currently the network is up in a crippled state on a 1 T-1 link while we troubleshoot the bigger issue with our 6mb pipe, however Sub #2 and its associated router arent talking with the PUB or other Sub.  I'm still getting alerts every 30 minutes stating they are the server is down.  I'm sure once the network is corrected this will bring everything back on line.  My question is how can I prevent in this in the future.  I need this site to be stand alone if the network goes down again.  I was told by our vendor that if we had a subscriber at each site then we would need SRST licensing. I know something needs to be configured to make it all work, I'm just not sure what.

    I already have a group at the site but it includes both the Pub and Sub from the main site as well as the Sub from the remote site.  I would only have to remove the Sub from the main site, problem is I currently only have 1 TFTP server it runs on SUB #1, should I make SUB#2 a TFTP server as well and the phones are setup for DHCP at the main site, I'm going to need to have a DHCP server setup at the remote site as well. Correct?

Maybe you are looking for

  • Managed to get a L512 back to life with oven reflow, but now bios locked ??

    Hello, Just joined, but been lingering a bit longer here. Got my hands on an L512 the other week with the dreaded 'DEAD"-symptom (doesn't respond to power on, yet charging the battery without problems). SImiliar to this stuff :   http://forums.lenovo

  • Upgrade to Photoshop extended cs5

    I want to upgrade from Photoshop CS5 to Photoshop EXTENDED CS5 on my Mac. The problem:  I can go through the whole installation process without any problems. But when the installation is finished and I start the software, there are no EXTENDED functi

  • Canon PowerShot SD870 Video

    I wanna edit some video I shot with my PowerShot SD870 IS (point and shoot camera). The video is 640x480 at 30fps. I can't find any DV NTSC settings for 640x480 at 30fps in Final Cut Pro. Can anyone tell me how to set up the video preferences for tha

  • Lost phone, purchased one on ebay .. how do I program it?  *228 isn't working ...

    I lost my phone about two months ago.  I purchased the same one used on ebay and now I'm trying to apply my number to it but it's not working.  I usually used *228 to program the rentals I've used for overseas.  Any help would be greatly appreciated.

  • Function Module TABLES parameters

    Hi All,        I want to pass my internal table to a function module but when I try to access the componenbts of the table it is giving me syntax error. Is it required that I should create DDIC structure for this? Is there any other option? I have de