single button with two expression?

Hello

How to configure 2 expressions for a Single_Button in terms of the 'Condition' of the Page Edit button.

I already have an expression like:-'Expression 1 = P1_NO' and condition_type = "Value of the element in the Expression 1 is NULL", but this being specified I want to add an expression in the expression 2 how I can do?

apprecaited


In depth.

Hello deep,

I just created an example (form & report on a Table) and changed the State of the button [Apply Changes] to the Condition Type = PL/SQL Expression and Expression 1 is
: P20_PRODUCT_ID IS NOT NULL AND: P20_PRODUCT_AVAIL = 'Y '.
And that works like a charm.

Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this response in marking it as useful or Correct ;-)

Tags: Database

Similar Questions

  • can perform us two actions with a single button in two clicks, one after the other?

    Mr President.

    can perform us two actions with a single button in two clicks, one after the other?

    I want that when I click on the button Add once it add data to the database and when I click again on this button it clears the form data to the empty fields.

    Concerning

    Tanvir

    In the code, it should be easy.

    The following code adds that a button called butman with text 'ADD '.
    It then registers a listener that will be called if the user clicks the button.

    This listener then calls the runAddData method if you clicked butman while it contained the text of "ADD" and it calls the runClearData method otherwise.
    That's why he will swap the functionality of the button between ADD and CLEAR on each click.

    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});
    

    I hope that's what you wanted.

    Further reflection.
    You might want to run the ADD and CLEAR methods in their own son so that it can run in the background without slowing down your user interface.

    I also reuse rather a single button for several features instead of to apply with hundreds of nodes used only rarely with masses of code to show and hide as needed.

  • How can I associate a button with two slices?

    Hello
    I need help please. How can I associate a button with two slices? or combine the two slices to make one cut or make a form of true polygon on the edges, it will make to the polygon, but it leaves the red lines and I cannot work under this installment... If you understand. Someone help please. Thank you very much.

    Two points.

    First of all, I see that you have forms stars in your image, but that does not mean that you need a star-shaped slice. You can use a little square that is centered on your star. That could make it easier to create your slices. All you have to do is drag lines of leaders in the left seat and superior, two pairs around each star and then drag a slice from one end to the other.

    Noting that brings me to my second point: images must be rectangular. If you want to change the L-shaped area, then you need to swap two images, not one only. This is perhaps why you cannot have the buttons under the threshold of upper sliding of your L shaped section. Because Fireworks needs to make a rectangular image, it is by default in an area that encompasses the range - area you can not the buttons in. It is the lock area non cut which still need to be part of the image, since the part will swap, too.

  • Single instance with two sons to redo

    Hallo,

    I have a 10.2.0.4 single Instance with 2 threads again by following query shows:

    Select thread #, status, active, groups of wire $ v

    THREAD # STATUS ACTIVE GROUPS
    1 PUBLIC OPEN 3
    CLOSED 2 3 PUBLIC


    That's because it's disk-synchronized with a RAC database, so I can not get a wire 2. (For example need recovery at startup)

    In any case, I noticed that the Thread 2 Redo Logs switch once all TWO Redo Log Thread 1 switch and without
    journal entry of alerts on the log command, instead of switching with Redo Logs in 1 thread.
    In other words, as archiving is, thread of Redo log 2 get archived twice as long.


    Is this expected behavior?

    Thank you!!!

    In the CCR, if a thread is more active than the other and switches logs frequently, it will force also a switch of newspaper to the other thread sometimes to make sure the second thread does not lag behind . This is to ensure that the repeat of the second thread also gets archived on.

    Imagine what would happen if:
    a. thread 1 is 100 000 transactions on 9 switches Journal (SEQ #101 à 109), using 3 groups
    b. thread 2 does 1 single operation without switch (still stuck in SEQ #99) unique newspaper (at some time where 1 wire was active in the #102 SEQ) and do not archive

    Restore database and recovery or a database of aid would put an end to the Seq 2 wire #99 (approx. Seq # 101 Thread 1). Cannot apply 90 000 + transactions in SEQ # 102 to 109 because Oracle does not have time to order operations, if missing redo thread 2.

    To avoid such a situation, 1 wire would be periodically (about every 2-3 switches, if there are 3 groups) force an automatic switch redo log groups of 2 wire to make sure that they get archived on!

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Button with two linked actions. Doesn't work

    My folio I have two buttons (to change the language) I have change the State of the text and the title.

    With a simple TOUCH, she changes two States (two measures).

    In the preview with the Office Viewer that works, but on the ipad isn't (I need two consecutive tap the same button).

    Why?

    I think you came across a weird bug that has not yet been set. In your target MSOs, try to set a Cross Fade with a minimum delay, such as 0.125 seconds. Then it should work.

  • A button with two functions CLICK

    I'm sure that I must write an if else for it to almost 100% statement.  However, I'm not exactly sure how do.  Here is the code I have for a button (movieclip) that I created.  He is supposed to play an animation when you click on it.  Then when you click it again it was suppose to play a second animation that he will bring back the State of origin.  What's happening is, it goes directly to the State clicked without playing the animation.  However when you click the second time he plays the animation that takes back you to the original state.  Am I right to believe the only way to get the animation to play on two clicks is to use an if else statement and can someone help with the fi, the else statement.  I never wrote the script for one.

    function clickPlus(event:MouseEvent):void {}
    Btn1.gotoAndPlay ("clickOpen");
    }
    Btn1.addEventListener (MouseEvent.CLICK, clickPlus);

    function clickX(event:MouseEvent):void {}
    Btn1.gotoAndPlay ("clickClose");
    }
    Btn1.addEventListener (MouseEvent.CLICK, clickX);
    Btn1. RemoveEventListener (MouseEvent.CLICK, clickPlus);

    Have you tried moving the first btn1.addEventListener on top? All orders are executed in sequence given/written. I do not have to appoint executives, but they are probably right, I use the number of the frame. You could do/take a picture of the first image, convert to the key and make the movieclip on the next run frame. Then stop it on the frame and do the same thing with the button to operate the other movieclip, here's an example I did http://manamoppet.deviantart.com/art/Something-in-the-wall-127359486 . It is an alternative, but worked for my purpose...

    An if else statement works like this, but I'm certainly NOT some cases what I write here will work with your movieclips, tracks used to find out if it has worked, so you can delete:

    var variable1:Boolean = true;
    var variable2:Boolean = false;

    Btn1.addEventListener (MouseEvent.CLICK, clickPlus) ;//

    function clickPlus(event:MouseEvent):void {}
    var variable2 = false;

    If (variable1 == true) {//goes to and playes animation btn1 if the variable is equal to the value 'true' (or the number of given number)}
    Btn1.gotoAndPlay ("clickOpen");
    trace ("Start nummer 1");
    variable2 = true;
    Variable1 = false;
    }

    else {//executes on all values which is not seized written if statement
    trace ("start 454654 nummer");
    Btn1.gotoAndPLay (click Close "")
    Variable1 = true;

    }

    }

  • Can I run FireFox-26, 0 as two independent process, not a single process with two windows?

    Operating system = MS Windows-7 x 64 Home Basic
    Processor = Intel Celeron B800 (System shows: two processors 1, 5 GHz)

    Hi Alexander,.

    Yes, use a second profile and - no.-argument remote in no default browser comandline or shortened. Post back with how you get where for more information

    Well done John,.

    See

    With the help of several profiles is not something that yell us on this forum. This is I think seen as too advanced. But there is no certain dangers that you may accidentally delete profiles for example. It is however possible to backup profiles manually and that can be a good precaution to take. I strongly suggest you to follow this good practice (at least until you're competent enough to manually recreate and modify profiles)

    1. Used to use the slots offered by Firefox
      It is easier and safer

      • Always use an empty folder
        Other subjects disappear when the profile is deleted
      • To nest within the other profiles
        As stated above, remove mother, lose the child also
    2. Do not rename the profiles of school boards
      Confused, the profile names and folder names mismatch
    3. Do not delete the profiles of school boards
      Just remove shortcuts if it is not in use. Remove the evil and you lose cutlery, passwords & bookmarks etc.

    Uses of several profiles include

    • Trials, with own or temporary profiles
    • Different users, or the type of different work in the same OS account. Which may include different bookmarks files and/or a different set of addons.
    • Running multiple versions of Firefox and/or multiple instances of Firefox at the same time.

    There are other methods of creating profiles, but the best is probably to use the built-in Firefox profile manager.

  • button with two URL field

    I want to use a button 'Link' field with 2 different links in combination with a 'response' option field (options: Yes or no).

    If the option field 'response' is on 'Yes', url1 links "link" button, if the user clicks the option 'no', this field to url2 button, if the user has not selected anything whatsoever, the domain of the 'Link' button should not send to all URLS. Is this possible in javascript?

    Yes, to use the statement 'if' twice or a switch statement. First, you will need to check to see if there was a selection of one of the checkboxes, then if one of the buttons has been selected, you run the code for the appropriate selection. Using a switch statement that is enough to test the none selected, option 1 or option 2.

  • Should be changed to two full pages in a single page with two columns

    I have a schedule that is formatted to 8 1/2 x 11 size.  I want to change this option to display two pages on one page into two columns?  How can I do this?  Thanks in advance.

    It's extremely well beyond what is possible or even imaginable for PDF editing. Redo in Word; You can use export as Word, copy paste and export the images as tools to do this. Then again the PDF file.

  • Repostiory single connection with two DB or two schemas in db

    Hi all

    I connect to my ATG by using FakeXADataSource.properties and JTDataSource.properties database application. Is it possible that I can connect my application to two db or other unique db schema.

    Thanks in advance.

    Yes, I have operational requirements for this.

    Can you check my first comment. I've updated. It can help you.

    -RMishra

  • I want to change the table with the expression of dangerousness of the virtual columns with her, need advice

    Hi all

    Here is the structure of the table with two expression of virtual columns associated highlighted, now I want to delete these expressions with virtual columns (but must keep my VIRTUAL columns as it is).

    Is it possible the alter or I need to raise the table, make a new structure and copy content back to newly structured table... Pleae help!

    CREATE TABLE TEST_COL)

    SAGE_TRADE_TYPE VARCHAR2 (50 BYTE),

    LOCAL_TZ VARCHAR2 (20 BYTE),

    ACE GMT_CONV_ENTERED_DT_TS (SAGEDBO. FN_CONVERT_TIMEZONE (LOCAL_TZ, ENTERED_DT_TS)) VIRTUAL,.

    ACE GMT_CONV_EXECUTION_DT_TS (SAGEDBO. FN_CONVERT_TIMEZONE (LOCAL_TZ, UPSTREAM_EXECUTION_TS)) VIRTUAL,.

    EOD_IND VARCHAR2 (10 BYTE)

    );

    Thank you very much

    Arpit

    Try this

    ALTER table test_col change gmt_conv_entered_dt_ts (0) virtual;

    ALTER table test_col change gmt_conv_execution_dt_ts (1) virtual;

  • Main table with two tables of children as part of the ADF

    Hello

    I'm trying to implement single master with two tables in detail using oracle adf framework of Jdev 11.1.1.4.0. I am able to only master / details using the link display but unable to reach the details i.e., nested block child master with nested blocks.

    I created query view object based on the master and two poll objects of the base seen as details. Then, I created two master of first child link and another link for master of the second child. Even in this case in my data controls I see two different components which is incorrect.

    Please let me know how to create a data control for an example below:
    Fruit [MASTER]
    -Details of Fruits such as the table of the adf
    -Apples [FIRST CHILD]
    -Details of the apples as adf table
    -Orange [SECOND CHILD]
    -Details of the Oranges as adf table

    Kind regards
    Amar.

    You need two viewLinks
    Fruit-> apples
    Fruit-> Oranges

    Then, in the data model, you choose the entry of fruit that has:
    Fruit
    |---> Apples

    You stand on the fruit and you shuttle Oranges to be below left to right.

    If you use the HR schema by default, you will see this type of relationship for employees:
    https://blogs.Oracle.com/Shay/entry/master_with_two_details_on_the

  • Switch between two intelligent forms with a single button?

    Hello!  I work at 8 Captivate and try to use a single button to switch between two smartshapes.  I can't for the life of me figure out how to do it.  I know its possible to make it 'show' and 'hide', but is it possible to simply create a user click on a button and whenever we click on it, it comes and goes between two different smartshapes?

    Im trying to show the user the functionality on a piece of equipment when they press a button.  When they push the button, it comes and goes between two different read out on the screen.

    Thanks in advance!

    Have you looked at the blog post that I posted a link: I offer 4 scenarios.

    It can also easily be done, if you have a separate (shape) button to switch between two different objects:

    1. Create a user with a default value of 0 v_visib variable
    2. Create two objects and one of them is visible, the other invisible output ("eye" in the Properties Panel icon); I've tagged the ShapeOne and ShapeTwo, where ShapeOne is visible at the beginning
    3. Create this advanced conditional action (you can also turn it into a shared action):

    IF v_visib equals 0
    Hide ShapeOne
    See the ShapeTwo
    Toggle v_visib
    ON THE OTHER

    Hide ShapeTwo

    See the ShapeOne

    Toggle v_visib

    4 assign this action to the success of the button event

  • two buttons with single function

    I want to create two buttons for single function and a single button for a function. For example, I click on button1, the display shows "clicked1".

    If I clicked on button2, the display shows "clicked2". If I click on button1, and then click button2, it will show that "the two buttons are clicked. However, it does not work in two buttons with single function. What is the problem? Here's the code.

    import flash.display.MovieClip;

    import flash.events.MouseEvent;

    var button1:MovieClip = new Button1();

    Button1.x = 200;

    Button1.y = 200;

    addChild (button1);

    var button2:MovieClip = new Button2();

    Button2.x = 300;

    Button2.y = 250;

    addChild (button2);

    Button1.addEventListener (MouseEvent.CLICK, onClick);

    Button2.addEventListener (MouseEvent.CLICK, onClick2);

    var isClicked:Boolean;

    var isClicked1:Boolean;

    function onClick(evt:MouseEvent):void {}

    isClicked = true;

    trace ("clicked1");

    }

    function onClick2(evt:MouseEvent):void {}

    isClicked1 = true;

    trace ("clicked2");

    }

    If (isClicked & & isClicked1) {}

    trace ("two buttons are clicked");

    }

    Copy the following code

    If (isClicked & isClicked1) {}

    trace ("two buttons are clicked");

    }

    should run WHEN you click on your buttons.  That is to say, place it in a function and call that function when you click on your buttons and after that your Boolean values are updated.  (probably then want to reset these Boolean values in the called function).

  • Two actions with a single button Oracle adf

    Hello
    Dear all,
    I want two action with a single button. Before posting, I studied this thread, but it seems that it cannot solve my problem two actions with a single button?
    It's my button and its action http://4.bp.blogspot.com/-tpP5wIW8JLI/T66zhLZgG0I/AAAAAAAAAPY/F1A-Ka8KGPY/s1600/req1.JPG
    getReqID button is actually a call to a procedure that returns a value to his class of action. The cb1_action function is...
    public String cb1_action() {}
    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("getReqID");
    Object result = operationBinding.execute ();
    int id = Integer.parseInt (result.toString ());
    System.out.println ("result =" + id);
    If (! operationBinding.getErrors () .isEmpty ()) {}
    Returns a null value.
    }
    Returns a null value.
    }
    It works very well. Don't know I want to, click this button, it also opens a page of .jsff. but I'm unable to open this page.
    Help, please
    Thank you
    Muhammad Nasir

    The first image you provided shows a small 'Attention' sign on the "request for quote-global-TF" which, I guess, gives you the sentence.
    This warning tells you that there is a problem with the task flow that you imported from the pot. Move the mouse over the warning sign a see what message you get from the frame on the error. If you don't get one, in 'source' view and look for red or orange squares in the gutter of the right hand. Scroll to the position of the red square and move the mouse over the underlined part red or orange of the code.

    Timo

Maybe you are looking for

  • macOS keeps the nagging on the activation of Siri

    Hey all,. I installed Sierra and I think I rushed. Should have waited. I don't want to use Siri at all, so I went into system preferences and disabled, but he began to appear in the dialog box 'Do you want to activate Siri?' - and hit 'Cancel' help o

  • MacBook screen on Apple TV

    Hello I'm trying to put my Macbook Pro screen on my HD TV via my Apple TV box 4th generation. My Macbook Pro is a Mid 2010 and runs the latest version of the software and the update. I searched Apple's site and I do not know I followed what he say. I

  • extract data from text file to draw the graph

    Hello In the attached data file, I would like to extract the (real) % Freq column and then be able to plot them on a graph of % Freq vs other columns (i.e. % Freq vs Amp, or % Freq vs Test1...). Any help will be greatly appreciated. Thank you hiNi.

  • SMB 031-528 scan server not found error

    Using the network wireless of the 64 vista operating system, to be able to print on the Dell 2135cn multifunction printer, but can scan.  I also have another laptop running XP and it has an SMB 031-523 share name error error error message.  Two of th

  • Screen saver and power management

    I am unable to get the screensaver for exploitation and the monitor and drive hard do not stop after the deadline set in the power management. I am running windows 7 on a Compaq CQ1000. This is a new pc and no changes have been made to the operating