Under regions and conditional statements

Greetings. Having a problem with conditional statements and subregions. With the help of apex 4.2

I have a region (mutations) that has several items and a few buttons (button A, button B, etc.). I need to display conditionally button A. I have a sub region (People), which is a report of people deployed. I need a button to display the area of deployments, if there is no people in the report (People_ID is null) then the button will not appear. I tried to use a conditional, but I am not having any luck. Help, please. Thanks in advance.

NewApexCoder wrote:
I just tried to use a conditional button

Condition Type: Point value / expression column 1 is NULL
Expression 1: PEOPLE_ID

This doesn't seem to work for me.

No, it does not. (The inclusion of 'column' in this type of condition is inadequately documented. A "column" name only are referenced by such a condition, after presentation of a form in a table.)

Use a Exists (SQL query returns at least one row) condition, based on the query in the subregion to report.

Tags: Database

Similar Questions

  • A user needs administrative rights on their computers to change the formats of date under the sign of the region and Lanaguage?

    Customize the format of long date in DD/MM/YYYY under control panel > region and language > Formats > more settings > Date > long date is available for a user with administrator privileges, but is available for a non-administrative user?

    Since posting this question, I was able to test this scenario with the help of my computer SCIENCE Department.  It seems that all our portable business have a configuration of standard domain without administrator privileges by default account.  I turned on my laptop users and was able to change the long date in DD/MM/YYYY format proving you don't need administrator privileges to change the long date format.

  • hide and show the region and pass values to the region

    I have a p_dept lov static 10,20,30 and submit button

    I have 2 areas with the name dept10, dept20

    When I select lov p_dept = 10 and submit button then see the region of dept10 (do not know how to pass values from: p_dept suggest key)

    dept10 region query is
    Select * from emp where deptno =: p_dept

    dept20 region query is
    Select * from emp where deptno =: p_dept

    Please someone help me how can I achieve it with stetp by step.

    Hello

    You can simply set the display state of your regions.

    - Edit dept10 region set condition [item / column = value]
    - Expression 1
           p_dept
    - Expression 2
           10
    

    Do the same for the dept20 region

    - Edit dept20 region set condition [item / column = value]
    - Expression 1
           p_dept
    - Expression 2
           20
    

    When you submit a page, your selected items will be defined in the session if you do not need to pass any parameter.

    Thnks

  • two cursors at the same time move under a certain condition

    I'm trying to move the two sliders at the same time under a given the conditions. I have my program set up as follows:

    When 1st setting on "Continuous", all output values 4.

    When the 1st setting on "Pulse", values output based on ' 'Send the Signal' button support according to the following below:

    1 1 shows the value of cursor 1 and 2 slider when the switch is on "simultaneous."

    2. the cursor 1 and 2 output the value of cursor 1 and 2 slider when the value of "independent".

    My question is based on 1 above. I basically have a hard time trying to figure out when the condition is set to "Simultaneous" be able to see cursor 2 movement.

    Can anyone help? A large part would be appreciated.

    NOTE: The output is correct how I want it. I want just the cursor 2 move when cursor 1 must move under a certain condition.

    All I needed was to move the Slider 2 property node before the total multiplcation.

    Thanks again James.Morris for your help!

  • I get BSOD on windows 8 and the STATE DRIVER FAILURE error. What should I do?

    I get BSOD on windows 8 and the STATE DRIVER FAILURE error. Never, it happens every time I got close the lid of my portable computer or attempt to put it to sleep. If it helps I have an ASUS S56C ultrabook. I have read other forums and noticed that this problem is related to my minidump file. The link is https://skydrive.live.com/redir?resid=B33EC443BFC08CAF! 239 & authkey =! APosKb0gDrCL_7M. Thanks to all those who can help you

    Hello

    Since there is a new check laptop with the seller and ASUStek support for warranty
    repair. As OEM ASUStek is responsible for the good operation of the equipment both
    and Windows. Keep in mind do you more they tell you it's something
    you did it. Added that even if you are somehow able to solve the problem you
    would that he documented in the case of other problems on the road.

    ASUStek support
    http://support.ASUS.com/

    ASUStek Forums
    http://VIP.ASUS.com/forum/default.aspx?SLanguage=en-us

    ASUStek drivers
    http://support.ASUS.com/download/download.aspx?SLanguage=en-us

    =======================================================

    If you really want to solve the problem (which I do not recommend on a new computer
    under warranty):

    Results verified BlueScreenView WinDBG / DumpCHK.

    The Bug_Check has been iaStorA.sys 9F CAUSE i.e. technology Intel Rapid Storage Technology driver.

    9F error checking, {3, fffffa80121cf7f0, fffff800af4687e0, fffffa8013b01c60}

    Probably caused by: iaStorA.sys
    FAILURE_BUCKET_ID: 0x9F_3_POWER_DOWN_IMAGE_iaStorA.sys

    BUCKET_ID: 0x9F_3_POWER_DOWN_IMAGE_iaStorA.sys

    iaStorA.sys as of the 09/07/2012 which is Intel Rapid Storage Technology driver.

    fffff880 ' 01638000 fffff880' 01902000 iaStorA T (no symbol)
    Loaded symbol image file: iaStorA.sys
    Image path: \SystemRoot\System32\drivers\iaStorA.sys
    Image name: iaStorA.sys
    Timestamp: Wed Jul 09 13:42:33 2012 (4FFB4239)

    Collate ASUStek support, their drivers and documentation online and ask for their
    Forums about known problems.

    BiosVersion = K56CA.206
    BiosReleaseDate = 21/08/2012<- bios="" is="" fairly="" current="" however="" there="" may="" be="" an="">
    most recent version. Also check updates the chipset drivers and other key embedded
    and separate device drivers.
    SystemManufacturer = ASUSTeK COMPUTER INC..
    SystemProductName = K56CA
    Family = K
    SystemVersion = 1.0
    SystemSKU = ASUS-NotebookSKU
    BaseBoardManufacturer = ASUSTeK COMPUTER INC..
    BaseBoardProduct = K56CA
    BaseBoardVersion = 1.0

    ASUStek links above.

    After checking with ASUStek and if necessary to check updates with Intel.

    For the Intel driver update utility<-- run="" this="" after="" checking="" with="">
    http://www.Intel.com/p/en_US/support/detect?redirector_count=1&

    Intel - <- also="" search="" here="" -="">Quick storage drivers Download Center.
    http://Downloadcenter.Intel.com/

    Forums and Intel - Support - community
    http://intelopenport.hosted.Jivesoftware.com/Community/Tech

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Conditional statements

    Hello!

    I want to display different content in the sidebar of a page 2 column template.

    I would like to create a template to use for a group of pages. According to the name of the page, I want to view the contents of specific pages in the sidebar.

    I thought that I would need to use conditional statements, but I don't know how to write this.

    The content of the different sidebar would be placed in content holders.

    Please help me understand this.

    Very much appreciated.

    Marian

    Easy with liquids conditional, but probably easier instructions with just named pages and content holders. Here's a solution:

    Create your sidebar provides with names like 'Sidebar-talk', "Sidebar-Home", etc..  The portion after the "-" must be the name of the page where the content will appear.

    Insert in your model, where will be the content of the sidebar:

           {module_contentholder,name="Sidebar-{module_pagename}"}
    
  • Procedure of the ODI - Bind Variables in the conditional statements

    In an ODI procedure, is it possible to add a conditional statement around bind variable?  For example, if I use OdiOutFile as the command on the target and Oracle as the command on the Source, I can use bind variables to fill the data in this table (we are in fact using OdiInvokeWebService and passing a XML structure very complex, but it's easier for testing):

    OdiOutFile-FILE = C: / TEST. TXT

    < person >

    < first > #FIRSTNAME < / first >

    < Middle > #MIDDLENAME < / Middle >

    < last > #LASTNAME < / last >

    < / person >

    It is a way to add a conditional statement using one of these bind variables?  For example, if I wanted to test #MIDDLENAME null and null value, produced this portion of XML, such as:

    OdiOutFile-FILE = C: / TEST. TXT

    < person >

    < first > #FIRSTNAME < / first >

    < % if (#MIDDLENAME! = null) {% >}

    < Middle > #MIDDLENAME < / Middle >

    < %} % >

    < last > #LASTNAME < / last >

    < / person >

    This type of scriptlet syntax seems to work fine, as long as the binding variable is not in the mix (if I put "true is true" or "true == false" in the case, it shows or does not show this line in the XML file, as expected).  I use ODI 11.1.1.7.0

    ----------------------

    Post edited by: KevinPratt

    Thanks for the reply!  As suggested, in what follows, I changed the command and it works as you want

    OdiOutFile-FILE = C: / TEST. TXT-APPEND

    < person >

    < first > #FIRSTNAME < / first >

    < @ if (!) (("#MIDDLENAME".equals(""))) {@ >}

    < Middle > #MIDDLENAME < / Middle >

    {< @} @ >

    < last > #LASTNAME < / last >

    < / person >

    Using the syntax <@ ...="" @="">serve your purpose. Also, I think you might want to include the variable binding in the quotation to avoid syntax errors.

  • DataCopy in Fix and if statement

    Hi Expert,

    I'd like to check if it is possible to use "Datacopy" within a solution and if statement

    What we try to do, is that:

    If the "total account" scenario 2 scenario 1 equals 1 "total account" version, version 2 (summary level of other dimensions).
    then we want to copy the data from the accounts of level 0 (and 0 member of other dimensions level) of scénarion 2 version 2, version of scenario 2 1.

    So I want to use an 'If' condition, to define whether the data copy operation can be performed. Is this feasible?

    Fear that the copy of data may not work in an If statement, and also when we set the data range, we have the if condition apply to senior level members, while the function of copying data, should copy more members of level 0, so in the face of something like the below:

    DIFFICULTY (member of level 0 on side A, B, c... etc)

    < dense Member >
    IF
    (toplevel for Member A-> toplevel member B-> Scenario 1-> 1-> Member z version is toplevel for Member A-> toplevel member B-> 2->-> Member z version2 Scenario)

    Datacopy scenario 2-> version 2-scenario 2-> version 1

    ENDIF;

    What would be the best way to handle this?

    We are in version 11.1.2.1, BSO planning request. Thank you!

    The solution proposed above should work (can be slow because the blocks need to be created if necessary). You can always struggling on the edge of level 0 members and always compare higher level using cross Sun block IF conditions.

    Fix (Level0)

    IF (PARENT1, PARENT2))
    dim1, dim2 =
    ENDIF
    ENDFIX

    When the condition is true, this would copy the data of dim2 to dim1 for combinations of members of level 0.

  • Conditional statement to improve the functions of navigation bar

    Question of AS2:

    I have created a navigation bar of four buttons with the normal state in box 1 and place the cursor in the frame of 10, 20, 30 and 40, States.

    Hover States are made by adding a mask on each button to reveal a layer of color differetly on frame 10, 20, 30 and 40

    I have scripted buttons like this:

    on (rollover) {gotoAndPlay (10);}

    }

    (deployment) {gotoAndStop (1);}

    }

    (press) {gotoAndPlay (1);}

    }

    on (release) {gotoAndPlay (9)}

    }

    On the four frameworks there is also an action that says:

    Stop();

    to import flash.external.ExternalInterface;

    {btn1.onRelease = Function ()}

    ExternalInterface.call("saveglobalscore",score) ("f1");

    }

    It all works well. The button triggers a javascript function on the page.

    Request:

    Can I do the buttons stay in addition to their States when a button is clicked, so it serves as a clear marker that the viewer of the page selected and seeks to?

    Page loading on the release, but as soon as the pointer leaves the button, the command deployment on-site the playhead to frame 1 (with the normal state)

    (1) is the following:

    Put a conditional statement to say frame 1:

    If the read head came to frame 10 then go to section 10 and stop.

    If the read head came to frame 20, then go to section 20 and stop.

    If the read head came to frame 30 then go to frame 30 and stop.

    If the read head came to frame 40 then go to the frame of 40 and stop.

    Another thing: stay on the frame 1.

    ?

    (2) or is there another solution that I have not thought?

    Often, it would be useful to be able to follow where the read head just left for example with scroll on the side and other advanced layouts.

    Is this possible and if so, how?

    Thank you in advance.

    ggaarde

    var mcA:Array = [mc1, mc2, mc3,...];

    for (var i: int = 0; i<>

    .Ivar mcA [i] = i;

    mcA [i] .buttonMode = true;

    mcA [i] .addEventListener (MouseEvent.MOUSE_OVER, overF);

    mcA [i] .addEventListener (MouseEvent.MOUSE_OUT, outF);

    mcA [i] .addEventListener (MouseEvent.CLICK, clickF);

    }

    function overF(e:MouseEvent):void {}

    MovieClip (e.currentTarget) .gotoAndStop ("over");

    }

    function outF(e:MouseEvent):void {}

    {if (MovieClip (e.currentTarget) .lastClicked)}

    MovieClip (e.currentTarget) .gotoAndStop ("clicked");

    } else {}

    MovieClip (e.currentTarget) .gotoAndStop ("up");

    }

    }

    function clickF(e:MouseEvent):void {}
    for (var i: int = 0; i<>

    {if (mcA [i]. Clicked)}

    mcA [i] .gotoAndStop ("up");

    }

    }

    MovieClip (e.currentTarget) .gotoAndStop ("clicked");

    do something else. has clicked the button movieclip MovieClip (e.currentTarget) .ivar th

    }

  • Conditional statements in IE6 error?

    http://MCEC.my/

    I have added a conditional statement that only target IE6 to render css and javascript.

    all other browsers, IE7 and before use will support the general set of css and js...

    However when I saw in IE 6 and IE7 I pulled out the rendering of the conditional statement:

    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Malaysia - China Entrepreneur Conference 2012 < /title >

    <!-[if! IE6] >->

    < link href = "include/reset.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "include/style.css" rel = "stylesheet" type = "text/css" / > "

    < link rel = "stylesheet" href = "include/room-slider - styles.css" type = "text/css" / >

    "< script type =" text/javascript"src="include/jquery-1.7.2.min.js "> < / script >

    "< script type =" text/javascript"src="include/coin-slider.min.js "> < / script >

    < script type = "text/javascript" src = "include/bw - menu.js" > < / script >

    <!-<! [end if] >->

    <!-[if gte IE7] >

    < link href = "include/reset.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "include/style.css" rel = "stylesheet" type = "text/css" / > "

    < link rel = "stylesheet" href = "include/room-slider - styles.css" type = "text/css" / >

    "< script type =" text/javascript"src="include/jquery-1.7.2.min.js "> < / script >

    "< script type =" text/javascript"src="include/coin-slider.min.js "> < / script >

    < script type = "text/javascript" src = "include/bw - menu.js" > < / script >

    <! [end if] >->

    <!-[if lte IE6] >

    < link href = "include/reset.css" rel = "stylesheet" type = "text/css" / > "

    < link href = "include/style.css" rel = "stylesheet" type = "text/css" / > "

    < link rel = "stylesheet" href = "include/room-slider - styles.css" type = "text/css" / >

    "< script type =" text/javascript"src="include/jquery-1.7.2.min.js "> < / script >

    "< script type =" text/javascript"src="include/coin-slider.min.js "> < / script >

    < script type = "text/javascript" src = "include/bw - menu.js" > < / script >

    < link href = "include/ie6PNGFix.css" rel = "stylesheet" type = "text/css" / > "

    <! [end if] >->

    < / head >

    ////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////

    23-04-2012 14-32-40.jpg

    Where have I gone wrong? Thanks for the help

    All comments of IE around your css/js alternatives links are a little distorted... try it below:

  • Conditional statement advanced interaction checking if a variable is odd/even?

    Hello

    I was wondering if it is possible to have a conditional statement that checks if a variable is even or odd? I am using Captivate 5.

    Here's what I would do, and I know that I could do the same thing with the two sepaparate buttons, but I am curious to know if it is possible to do it with a button only.

    What I'm trying to do, is to give learners the ability to display some documents as a resource on their screen while they are listening for an example of an interaction with the customer. During this interaction some forms have to be filled, and I want learners to be able to display a before and after of the completed form, if they would like to see it.

    The easy way to build that according to me is to have a single button that would make the visible resource and the other button that hides the resource. I tried it and it works like a charm using standard measures.

    Since there are several resources that I want to put available for learners, with two buttons for each resource can clutter the slide a little, so I thought I'd try if I could create the same function using a button with a tip action.

    Whenever the learner clicks on the button for a resource, the variable associated with the resource is increased by 1. I would then have a conditional statement, saying: If the variable is odd-> see the resource, if the variable is same-> hide the resource.

    I can't find the option in the advanced actions to compare if a variable is even or odd. I can only find how to compare to a literal or another variable.

    Hello

    May I suggest another approach instead of odd/even?

    I would build a conditional action with 2 decisions. In the first decision, it of really a standard action (use IF 1 = 1, while it is still running), use this statement:

    Expression v_one = 1 - v_one

    v_one is the variable user for this button. It will always pass the value of this variable between 1 and 0. If the variable has no value assigned when set, first time user clicks it will get a value of 1, the second time the value 0.

    Second decision will be your cheque to condition:

    IF v_one = 1

    THEN hide resources

    ELSE to see the resource

    I hope you get the idea?

    Lilybiri

  • Start or stop the conditional statement

    I have an animation that plays from the beginning to the end. I would like to add a conditional statement that

    IF the animation is to play and click the ANIMATION BUTTON, it stops and goes back to the framework.

    OTHERWISE (if the animation is on frame one (did not play) it starts to play the end.)

    My script goes like this-

    animation_btn.addEventListener (MouseEvent.CLICK, startplaying);

    function startplaying (event: MouseEvent); {} void

    Play();

    Animation.Play ();

    }

    the animation is the name of the animation time line.

    Your help is very appreciated.

    assuming that the movieclip you wish to order is the animation:

    animation_btn.addEventListener (MouseEvent.CLICK, startplaying);

    function startplaying (event: MouseEvent); {} void

    {if(animation.currentFrame==1)}

    Animation.Play ();

    } else {}

    animation.gotoAndStop (1);

    }

    }

  • I want to hide a DIV element using the IE conditional statement. Is this possible?

    Hi all

    IE has trouble reading my video, I just want to insert a conditional statement saying Internet Explorer to hide the video. Is this possible and if so, how? Thank you very much in advance for any help.

    Here is the URL (http://austinlindsay.com/iplayers.html) and the code of the div if it's any help (I know it is a little rough, sorry!):

    < div id = "iplayers_demonstration" > iPlayers video demonstration
    < object classid = "' clsid:02BF25D5 - 8 c 17 - 4B 23 - BC80 - D3488ABDDC6B" codebase =" " http://www.Apple.com/qtactivex/qtplugin.cab "height ="431"width ="791"scale ="aspect"> "
    < param name = "src" value = "video/iplayers_demonstration.mp4" >
    < param name = 'type' value = "video/quicktime" height = "431" width = "791" scale = "aspect" >
    < embed src = "video/iplayers_demonstration.mp4" height = "432" width = "738" scale = "aspect" autoplay = "false" type = "video/quicktime" pluginspage =" " http://www.Apple.com/QuickTime/Download/ "> "
    < / object >
    < / div >

    If it is not possible, my only solution is to solve the following problem, so if anyone has any suggestions, please let me know. Thank you very much

    Problem:

    I joined several video on my site and their rescheduled so that they fit inside my container. It works fine in Firefox, Safari, and IE8, I'm told. But there is a serious problems with IE7, where videos that play are cropped. This is probably caused by when I have rescaled the video, and for some reason, IE not resized the real images, just the viewing area. It is also, does not recognize "autoplay ="false"because that videos play automatically when the page is loaded.

    But it does not appear when you test it in IE. No idea why?

    Because you have told IE to stay away!

    Because you want to override what is in your style sheet, it should come theof the embedded document after links to CSS and external style sheets.

  • How to use variables in conjunction with a conditional statement

    v_sql:=  'SELECT  /* * */ trans_id' || 
                'FROM            NDW_trans '||
                'WHERE           cable =TRIM(LEADING 0 FROM ' ||  i_Cab     || ')' || 
                                'AND ' ||  i_Pair  || 'BETWEEN low and highr' ||
                                'AND termsysid =' ||  i_termsysid ||
                                'AND provisionstatus= ' ||  3 /* find what the constant is for inservice*/ ;
                                
         IF     i_Bill IS NOT NULL THEN
                v_sql := v_sql || 'AND CO_Clli = i_Bill';
         END IF;                  
          BEGIN                  
               EXECUTE IMMEDIATE v_sql INTO o_trans_id_list; 
    How can I convert this to binding of variables that I also have a conditional statement which stretches from the place where clause

    Try this

    v_sql:=  'SELECT  /* * */ trans_id
                FROM            NDW_trans
                WHERE           cable =TRIM(LEADING 0 FROM :i_Cab
                                AND  :i_Pair BETWEEN low and highr
                                AND termsysid = :i_termsysid
                                AND provisionstatus=3 '  /* find what the constant is for inservice*/ ;
    
         IF     i_Bill IS NOT NULL THEN
                v_sql := v_sql || 'AND CO_Clli = :i_Bill';
         END IF;
          BEGIN
               EXECUTE IMMEDIATE v_sql INTO o_trans_id_list
               USING i_Cab, i_Pair, i_termsysid, i_Bill ;
    

    HTH
    SS

Maybe you are looking for

  • Lost files ~

    My profile Windows 10 has been altered, so I created a new and copied all my files, including itunes to the new. Now... when I go to play a song, one get a message saying that the original file cannot be found... any ideas. Thank you

  • Re: Satellite L300-255: how to increase the shared memory graphic

    Hello My laptop is Satellite L300-255. I have improved it's ram to 4 GB. I want to increase the graphics card 1 340 MB. In the specifications of the laptop, he said that the graphics card can increase if the Ram has increased to 3 GB Thank you Post e

  • Satellite P300D fell and screen dead - what now?

    Hello my phone fell while riding my bike home... When I got home she was still going to but the screen no longer works. It's a satellite p300d, I myself check if broken/disconnected the cables? What should I do? Thanks in advance,Jannick van ' t Ende

  • Pavilion 17-e020us: Intel Core i7-4712MQ vs AMD 10 - 5750M

    Hello I can move my PC to the Intel Core i7-4712MQ CPU or the A10 - 5750M AMD processor, and I'm not sure I should choose.  Here are the advantages and disadvantages of each: I7-4712MQ 4 cores Hyperthreading 6 MB SmartCache Clock base 2.3 GHz 3.3 GHz

  • has a number of phone call 02030263248 said Microsoft?

    I had a phone call tonight from a person called james he said only he I have problems with my and it on a behavior of microsoft could fix his phone he gave me, there were 02030263248 I can't find it concerning Ray