The turning point of the value on and off under condition

Oracle Forms 10G

Hi gurus

I'm quite new to forms, I have 1 requirement, I have 2 points (dot, dot XY) on the forms and the point x can be set to LOV or the user can also enter the value without LOV.

The condition is that if the point x has received value = '03' part must be active, editable, and if the scope of the element X is set to any other value (or null), the item field there should be delivered to null, made inactive, cannot be changed.

I'm really grateful if someone to guide me. Thank you

Concerning

Muzz


Dear MUZZ

in forms, if you disable or invisible something, its NAVIGABLE, INSERT_ALLOWED, UPDATE_ALLOWED properties were also defined as FALSE. So if you allow an element, you must set the other properties to True.

So, your code will be

IF :. = '03' THEN
  SET_ITEM_PROPERTY('.', ENABLED, PROPERTY_TRUE);
  SET_ITEM_PROPERTY('.', NAVIGABLE, PROPERTY_TRUE);
  SET_ITEM_PROPERTY('.', INSERT_ALLOWED, PROPERTY_TRUE);
  SET_ITEM_PROPERTY('.', UPDATE_ALLOWED, PROPERTY_TRUE);
  ELSE
  :. := NULL;
  SET_ITEM_PROPERTY('.', ENABLED, PROPERTY_FALSE);
  END IF;

Manu.

Tags: Oracle Development

Similar Questions

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • My network PC sign together on "Authorized" in Acrobat Reader 11 and I can digitally sign documents. Several others on my team have signing the value "Unauthorized" and are unable to sign digitally the same documents. My IT Department. have informed them

    My network PC sign together on "Authorized" in Acrobat Reader 11 and I can digitally sign documents. Several others on my team have signing the value "Unauthorized" and are unable to sign digitally the same documents. My IT Department. informed that they are unable to manually change the value on the other PC that seems strange or false to me, but could be due to several factors associated with the network? Advice, I can provide my team who will help you solve this problem?

    Reader 11.0.07 was the first version of the player that was able to digitally sign files that are not compatible with the use of the signature digital good reader.

  • I got the U44M1P2003 error message, while Adobe has tried to upgrade my PSE12. Then I checked the registry for the location of the correct software and off my anti-virus program. I tried the upgrade again, but received the same error message. What to do n

    I got the U44M1P2003 error message, while Adobe has tried to upgrade my PSE12. Then I checked the registry for the location of the correct software and off my anti-virus program. I tried the upgrade again, but received the same error message. What to do next?

    Please see:

    12.1 error installation update | Photoshop Elements, first Elements

    Update the items 12.1 fault (U44M1P2003)

    I hope this helps.

    Concerning

    Megha Rawat

  • By passing the values to and from Excel

    All,

    I'm building a program to collect data of a group of gauge via RS232. One of the requirements of the program is to have the user to tell the program which sample they are on where their samples are not in order. I also need to check my Excel sheet if this sample has already been tested. Some of my code in a module looks like this:

    Function HasSampleBeenTested(dblSample As Double, strSG As String) As Boolean

     

    "Learn if the test sample has been tested.
    HasSampleBeenTested = False
    Range ("B14"). Select

    "First of all, find the number of sample group
    Until ActiveCell.Value = «»
    If ActiveCell.Value = strSG Then
    ActiveCell.Offset (0, - 1). Select
    Exit Do
    On the other
    ActiveCell.Offset (1, 0). Select
    End If
    Loop

     

    "Then look for the real sample.
    Until ActiveCell.Value = «»
    If ActiveCell.Value = ActiveCell.Offset (0, 1) and strSample. Value = strSG Then
    HasSampleBeenTested = True
    Exit Do
    On the other
    ActiveCell.Offset (1, 0). Select
    End If
    Loop

    End Function

     

    I also have a diagram that is connected to this exact instance of Excel, but I'm not sure I know how to wire my type (Boolean) in and out data like a Boolean value by the variation of data VI.

    If the variant data type is a Boolean value, then what you need to do is to wire a Boolean constant (its value is irrelevant) to the variant to the data to convert the variant to a Boolean type.

    : Note "Sample #" and "Previous Sample" supposed to be integer values? If so, you should do the data instead of DBL I32 type. If the value is really floating point, then you should NOT use a function equal to compare floats. Do a search on this topic (by comparing the floats).

    In addition, no particular reason why you use a local variable to 'Raw Data Report' instead of a thread?

  • How to find the value max and min of an attribute for a master VO

    Hello
    Is it possible to find maximum and minimum a master view object attribute values in groovy.
    I need to have the (START_DATE) min and max (end_date), values to pass to my Gantt chart to the table project start date and end date.
    For detail view objects, we can use < accessor > .max (start_date), but to see Master objects?

    I use jdeveloper 11.1.1.3.

    Thank you
    Guna.

    Published by: guna.b on December 13, 2010 11:01

    How about setting GOES to the same point of view and by using the groovy you mentioned in your message

  • How can I turn the power on and off NI 9263 voltage output using a distribution channel?

    LabView 8.6

    cDAQ-9172

    NOR-9263

    I used the simple fan control - but can it be modified to turn on and off via a channel instead of a button.

    In other words for example 5 seconds now and 10 seconds off the coast.

    I would also be adjustable.

    Hi Helpme9211,

    Try it please change as my attached screenshot.

    Sincerely, Kate

  • I have a list of selection with the value yes and no

    I am 10 select list with the value yes or no

    I need to launch a dynamic action, and so I have a variable that indicates the number of selection selected list which has been chosen as Yes or no...

    How can I realize this is apex 4.2 db 11g...

    Thank you

    Published by: zycoz100 on March 4, 2013 12:05

    Brute force method:

    Dynamic Action using a PL/SQL block with something like:

    count := 0;
    Begin
    If :P1_Select_List_1 = 'yes'
      count := count + 1;
    End If;
    If :P1_Select_List_2 = 'yes'
      count := count + 1;
    End If;
    If :P1_Select_List_3 = 'yes'
      count := count + 1;
    End If;
    . . .
    End; 
    

    ???
    Howard

  • How to read the value attribute and put inside?

    What happens if we want to read the attribute value? And want to put the data of runtime on the value of the attribute as

    < psoID ID = "user id" / >

    How to get the value of the ID as the user id. And how to put the run value on it?

    I can think about is that

    /psoID/@ID/value GOLD psoID/@ID/*[local-name () = 'value']

    And how to put the value inside ID ="? »

    Thank you

    Because we are dealing with a structure of type anyType you must use the functions of node (local name) in combination with predicates ([]) to read or write values (node) of the element:

    To read the value for example use the copy rule:




    This wil read:

    /processResponse/result/psoID/@ID

    on the message:





    You will see the value 'B '.

    To write, you use:




    Kind regards

    Melvin

  • How do you use the toggle buttons to switch the content on and off with a smooth transition?

    I work in edge animate CC 2015 and am using toggle buttons to hide and show content, I would that this content to animate smoothly on the screen, maybe going from 0 to 100% opacity and 0-100% scale when enabled and vice versa when it is switched off, is there a simple way to do this?

    Appreciate help!

    Emily

    An easier way if you who would rather just code, use use the Greenock JS library.

    First, add http://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js to your scripts Panel to the library.

    Then, add the following code to document.compositionReady

    sym.setVariable ("toggle", true); Create a new global variable called "toggle" and set the value to true

    Now, create a button and click on the following code:

    Toggle var = sym.getVariable ("toggle"); Get the variable global "toggle" and him assign a local variable of the same name

    var FadeSymbol = sym.$("FadeSymbol"); The value of a local variable to your symbol name

    If (toggle == true) {}

    TweenMax.to (FadeSymbol, 0.6, {opacity: 0});

    sym.setVariable ("toggle", false); Reset the value of the variable global 'toggle' false

    } else {}

    TweenMax.to (FadeSymbol, 0.6, {opacity: 1});

    sym.setVariable ("toggle", true); Reset the value of the variable global 'toggle' false

    }

    Note the line TweenMax, it fades to the opacity of the whole symbol rather than using a calendar. It breaks down as follows:

    TweenMax.to (TheNameOfYourSymbol, theTimeinSeconds, {theOpacity, 1 = 100 %}

  • Use the standard action and action scripts conditional on the same blade upon entry

    I want two different types of action to run on blade scripts enter the same blade, one second apart.

    1 script: fill a variable with the current date.  It is a standard action going right.

    2nd script (run 1 sec after the first script): If the above variable is greater than the current date, follow these steps.  It is a conditional action.

    How can I get Captivate perform these two actions in the same blade?  I can do if 1 script is located on the previous slide and the script 2nd on the second slide.  However this does not look good.  I want these two scripts to run on enter the same blade.  I use CP8.  Any suggestions would be greatly appreciated.

    Thank you

    Sharon

    You can use the two decisions, the first decision designating a standard simulated action by using a condition that always leads to True:

    First decision "always."

    IF 1 is equal to 1

    Assign the v_one with...                         the commands of your standard action

    Second decision «...» »

    IF v_one is equal to cpInfoCurrentDateString your conditional action

    However, in CP8 it is NOT possible to delay of 1 orders dry, this is only possible in CP9. Why you want to defer checking?

  • the value entry and exit points at start and end of the clip

    Hi all, I am new to first having already used Avid and FCP. One that allows you to set both and out points according to both the beginning and the end of the clip is a key that I can't locate. that is, when I want to put the whole clip in my sequence or lift a clip of my sequence help tip. I know there are other ways to do these things, but I want to stick to the way I'm used to.

    Thank you

    If I had to do... I would not put any points and just use Insert / Overlay or extract / shortcuts lift.

    They all need choosing the clip or the window anyway.

  • Getting the values MIN and MAX of the table data

    I have the table and the following records.
    create table test_bank ( trans_id  number ,   trans_date   date ,    trans_amt    number ,      debit_credit_indicator varchar2(3) )
    
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/17/2013 08:02:44', 'MM/DD/YYYY HH24:MI:SS'), 1099, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/18/2013 08:03:02', 'MM/DD/YYYY HH24:MI:SS'), 800, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/19/2013 08:03:18', 'MM/DD/YYYY HH24:MI:SS'), 500, 'db');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (1, TO_DATE('01/20/2013 08:03:36', 'MM/DD/YYYY HH24:MI:SS'), 200, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (2, TO_DATE('01/22/2013 08:04:01', 'MM/DD/YYYY HH24:MI:SS'), 400, 'db');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (2, TO_DATE('01/23/2013 08:04:16', 'MM/DD/YYYY HH24:MI:SS'), 345, 'cr');
    Insert into TEST_BANK
       (TRANS_ID, TRANS_DATE, TRANS_AMT, DEBIT_CREDIT_INDICATOR)
     Values
       (2, TO_DATE('01/24/2013 08:04:33', 'MM/DD/YYYY HH24:MI:SS'), 600, 'db');
    COMMIT;
    I need to get the highest and lowest credit / debit amount for each trans_id.
    I tried the SQL query below. Could you please let me know if a better solution.
    select distinct * from (
    select trans_id , case when debit_credit_indicator ='db' then  max(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 when  debit_credit_indicator ='cr' then  max(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 else null end trans_amt , debit_credit_indicator 
     from test_bank  
     union
     select trans_id , case when debit_credit_indicator ='db' then  min(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 when  debit_credit_indicator ='cr' then  min(trans_amt) over (partition by trans_id,debit_credit_indicator )
                                 else null end trans_amt , debit_credit_indicator 
     from test_bank   )
     order by trans_id
    Thank you

    Hello

    to get the answer, we need to know what is your expected results (showing an example).

    I don't know if this is appropriate for your needs:

      SELECT trans_id, debit_credit_indicator, MAX (trans_amt) trans_amt, 'MAX' min_max
        FROM test_bank
    GROUP BY trans_id, debit_credit_indicator
    UNION ALL
      SELECT trans_id, debit_credit_indicator, MIN (trans_amt)trans_amt, 'MIN' min_max
        FROM test_bank
    GROUP BY trans_id, debit_credit_indicator
    ORDER BY trans_id, debit_credit_indicator, min_max DESC;
    
      TRANS_ID DEBIT_CREDIT_INDICATOR  TRANS_AMT MIN_MAX
    ---------- ---------------------- ---------- -------
             1 cr                            200 MIN
             1 cr                           1099 MAX
             1 db                            500 MIN
             1 db                            500 MAX
             2 cr                            345 MIN
             2 cr                            345 MAX
             2 db                            400 MIN
             2 db                            600 MAX    
    

    Kind regards.
    Al

  • Value selected in the drop-down list, the value border and subform border color

    OK, I'm busy to create a form that has a field drop-down list. There are five values inside the drop-down list. I have also four subforms which contain tables and fields for each option in the drop-down list except the first. Now, I want to put the border and the color of the border of the subform if you have selected the correct value.

    As part of the output, I created the code as follows:

    If (this.rawValue == '5') {}

    this.resolveNode("TextfieldName").presence = "visible"; This affects a visible text... works like a charm

    Optie1.UI.oneOfChild.border.color.value = "255,153,0"; After an example I found Niall

    Optie1.UI.oneOfChild.border.color.thickness = "0,0200" in

    }

    I've changed this in Optie1, is the name of the subform. Somehow it is not applied in the subform. I know I'm wrong, but can't find what I want on the forums. Someone at - it an idea on that?

    Well, managed to resolve myself to play around with the code.

    It should be:

    Optie1.border.edge.color.value and Optie1.border.edge.thickness.

  • Anomaly when CF takes the value 2 and &amp; quot; 01/01/1900 &amp; quot;

    OK, that's an odd. In a piece of code, I have had an assessment like this
    < cfif 2 IS "01/01/1900" > false < cfelse > True < / cfif >

    And for some reason any "2 on 1 JANUARY 1900" "" the true resolution! Why is this? Anyone has any idea why?

    Thank you
    Marvin

    If you try you will notice that it generates on 01/01/1900. When you tried to compare a date string, CF 01/01/1900 acknowledged a date and tried to force 2 at a date as well.

    Im not sure what sense you are trying to go with this, but if you are trying to compare 2 at a time, you should probably use isDate() first... If the 01/01/1900 is supposed to be a date, then an invalid value is passed in.

    I hope this helps...

Maybe you are looking for

  • Update watch

    I'm supposed to update my watch? If so, how?

  • MP3 conversion stopped in the latest version

    I found no possibility to convert to MP3 with the latest version of ITunes.  This has happened in the past.  It took ANOTHER version to fix.  Revert to a previous version at the same time.

  • F55 serious problem with AXS - R5

    Hello everyone. I had a serous problem with my F55. I had a R5 with 512 GB card inside, all connected together with the F55. I want to record 4K raw with the R5, but failed. The settings below: Movies of E1 mode, can't choose the 4K resolution under

  • 4.7 HP Device Manager: HPDM finding Thin Clients

    I'm trying to implement HP Device Manager 4.7 on a newly configured Windows 2012 R2 server. I am replacing a Server 2008 R2, where HP Device Manager works perfectly on our network.  In fact, if I uninstall HPDM on the new server and reinstall it on S

  • Need to update for the OCR for HP c5180 software

    The OCR software that came with my HP c5180 all-in-one no longer works under Mountain Lion.  Is there a version update available?