set_item_property changing the text, but how to return the original value

Hi all
I use Oracle Forms Builder 10 gr 2 / I have the following problem: in a button I trigger when it is pressed. And then I change a few elements prompt text. But my problem is how to return the original prompt text. A kind of refresh or clear?


Here is a piece of code that modifies the prompt text:
set_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', PROMPT_TEXT, get_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', prompt_text) || '*');
Thanks in advance,
Bahchevanov.

This is not tested, but it's something like this:

declare
   v_item  varchar2(200);
begin
   v_item := get_block_property('block',first_item);
   loop
      exit when v_item = 'block.'||null;
      set_item_property(...);
      v_item := 'block.'||get_item_property(v_item,nextitem );
   end loop;
end;

Tags: Oracle Development

Similar Questions

  • Web site created by Muse. The greats until tweek of today. Web site insists now for open index.html in the tablet. Don't know how product, nor how to change the default value for pc of office/index.html. Would advise. Bob

    Web site created by Muse. The greats until tweek of today. Web site insists now for open index.html in the tablet. Don't know how product, nor how to change the default value for pc of office/index.html. Would advise. Bob

    Hi Bob

    I think that you have found the solution but if still you are facing the question, please give me the url of the site that opens another provision in the tablet.

    Please make sure desktop redirection is checked in the site properties page layout.

    Thank you

    Sanjit

  • You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.

    You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.  They will have to copy the files in the folder to make changes and then copy a review of back in.  Locally and on the network

    Hello

    1. In Windows Explorer, right-click the file or folder you want to work with.
    2. In the context menu, select properties and then in the Properties dialog box, click the Security tab.

    3. In the name list box, select the user, contact, computer, or group to which you want to display permissions. If the permissions are grayed out, this means that the permissions are inherited from a parent object.

    https://msdn.Microsoft.com/en-us/library/bb727008.aspx?f=255&MSPPError=-2147217396

  • How can I change the original position on my new computer Windows 8

    How to change the original location on my new computer.  He thinks that I am in North Carolina and I am in the South.  In fact, all of my electronics do.  Why?

    Original title: location

    Hello

    It is most likely the location of your access provider router\hub your space... I have this problem too, and explained to me the reason for my service provider technician...

  • Change the default value for new messages of the 'paragraph' in "text" format the answer currently online because it does not work

    The answer currently online for this problem said to follow the sequence "tools-options-composition" and then change the default value, but this sequence "tools-options-composition" does not exist in Thunderbird (at least in the version I have, 45.4.0). Under 'tools', there is no option 'options... '

    It can depend on what menu you look and which operating system you are using.

    Tools | Options | Composition refers to the menu bar on top old.

    You can use alt or F10 to make the menu appear temporarily. Go to the view of . Toolbars and check the boxes if you want it constantly on the show.

    If you use the button 'Menu of the Application' new fashion (with three horizontal lines - see the attached picture) then it's probably Options | Options | Composition -I say 'probably' because I'm on Linux where 'Options' are replaced, I think that, by "Preferences". Another complication with this infernal Application Menu is that different things happen depending on whether you click or hover. Place the cursor on the Options of the first and the second appears after some time.

    See http://kb.mozillazine.org/Menu_differences_in_Windows, _Linux, _and_Mac of the differences in Windows, Mac and Linux menus.

  • I have a pdf file that contains the text if I copy all the text and paste it into Notepad and save the .txt file is it changes the ascii value of the text?

    I have a pdf file that contains the text if I copy all the text and paste it into Notepad and save the .txt file is it changes the ascii value of the text?

    If the encoding is ASCII? Laughing out loud

    Be well...

  • How to change the default value of a parameter and LOV attached to a parameter

    Hi all

    I'm new to the discoverer reports and I need the following tasks:
    1. the need to change the SQL of a discoverer report
    2. need to change the default value of the parameter (from constant for the current month). In the discoverer more responsibility when I open the report and go to tools > > setting > > edit
    I can see the value of the default constant is given. On the right side there is a drop down that says "Value". I suppose that if I put a SQL as default, I need to change the drop-down list for sql or something and then put the code SQL. Problem is the menu drop-down is froezen and I can't change it.
    Even if I try to create a new report parameter.
    3 need to change the LOV associated with the element on which is based the setting.


    I have the discoverer more responsibility to myself and did not have the discoverer administrator (as forms 6i developer desktop tool) tool. My questions are:
    1. can I modify the SQL query using discoverer and responsibility or do I discoverer Administrator tool?
    2. any help on how to get the default value of an SQL query? Currently, it is a constant value.
    3. is there a way to understand is that the LOV is made of the constant values fixed (as a set of values independednt) or they are read in a SQL (value valid table sets)?

    Solutions pointers will be greatly appreciated!
    Thanks in advance.

    Thank you and best regards,
    Shashank

    It is not possible to use a default calculation for a paraeter

  • Permanently change the default value of the police and the size in hotmail

    I know how to change the size of police and style in hotmail for each email but not how to change the default value.

    Hotmail forums:

    http://www.windowslivehelp.com/forums.aspx?ProductID=1

    They will help you when repost you your question in the Forums above for Hotmail.

    See you soon.

    Mick Murphy - Microsoft partner

  • Work on keyframes in copied sequence change the original sequence as well (first Pro CS5.5)

    Hello world

    Maybe it's a very basic question, but looking on the forum did not bring to the top of the related issues, so I'm going:

    Let's say I have copy a sequence in first Pro CS5.5 and paste it into the same project. I have a few textclips with keyframes in them. (I do, because the videos remain the same, I just write different things in them.) When I change the keyframes in the copied sequence, the way that I need them out there and then come back to the original clip, keyframes it changed as well. This isn't what I wanted.

    So my question is: How can I make a copy of a sequence and then work on it without changing the original at the same time? Why are they related in any way? What's a selection in my version of Premiere Pro or is it a general thing?

    Be great if someone could explain it to me.

    Thank you!

    When you open your title for editing, press the new title based on the current title in the title Editor button; It's one that looks like the film with the "T" in it. This will create a new title in the sandbox, but will not replace the current instance of the title. However, you can simply drag this copied to the instance title, hold the Opt/Alt key and drop it onto the animation instance, copied. This will replace the contents of the clip, but preserve the animation.

  • Change the default value for the field selection at run time

    I would like to know how can I keep persistent information in Sib. My problem is I want to change the default value of the choice field when running so that when the user starts the application again, it can retrieve the new default value.

    store values can be done using the persistence framework.
    See Persistable, PersistantObject and PersistantStore in the API.

    You can call setSelectedIndex on an objectchoicefield.

  • Change the default value of some columns in an oracle 11g table

    I have a table called cust_file, its table consists of a large number of columns (one of these columns called cus_tax) and have a lot of data.

    I use oracle 11g, I want to change the default value of the column cus_tax is equal 1.

    I wrote

    ALTER TABLE cust_file MODIFY (1 by DEFAULT cus_tax).


    Table changed


    but after I inserted new data to test the operation, I found that the new record has a value = null for the column cus_tax


    then I tested it using the following query


    Select data_default in the all_tab_columns where table_name = 'CUST_FILE' and column_name = 'CUS_TAX ';

    no selected line


    so please help me to change the default value of the cus_tax column.



    Thanks for any help.



    > but after I inserted new data to test the operation, I found that the new record has a value = null for the column cus_tax

    If the INSERT included a NULL value for the column, the GET of a NULL inserted by default substitution.

    SQL > create table hkc_test_10 (id_column number, data_col_1 varchar2 (5), data_col_2 varchar (5));

    Table created.

    SQL > insert into hkc_test_10 values (1, 'First', 'F');

    1 line of creation.

    SQL > select * from hkc_test_10 by 1.

    ID_COLUMN DATA_ DATA_
    ---------- ----- -----
    1 first F

    1 selected line.

    SQL > alter table hkc_test_10 change (data_col_2 default 'TRUE');

    Modified table.

    SQL > insert into hkc_test_10 values (2, 'Second', NULL);

    1 line of creation.

    SQL > select * from hkc_test_10 by 1.

    ID_COLUMN DATA_ DATA_
    ---------- ----- -----
    1 first F
    2 second

    2 selected lines.

    SQL > insert into hkc_test_10 (id_column, data_col_1) values (3, 'Third');

    1 line of creation.

    SQL > select * from hkc_test_10 by 1.

    ID_COLUMN DATA_ DATA_
    ---------- ----- -----
    1 first F
    2 second
    3 third TRUE

    3 selected lines.

    SQL >

    Hemant K Collette

  • You can change the default values for shape layers?

    Specifically, I want the default paths Trim "connect multiple traces' '' individually '' and default STROKE line Cap and line join defined respectively on"Round cap"and"join Round '.

    I know that I can copy and paste these properties also but I wonder on changing the default settings - perhaps in a preferences file? Thank you

    No, there is no way to change the default values. If you have a set of properties that you always want to use, you can save them as a preset.

  • Change the INITIAL values in the layer... Layer styles... Drop the Shadow dialog box

    How can I change the channel values... Layer styles... Drop the Shadow dialog box so that the values that appear when I OPEN the box first are ones that I commonly use?

    For example, once I open the dialog box, the blending Mode is always 'Multiply' and the Angle is always "120". I use still 'Normal' and '45. Is there a place where I can make my default values 'Normal' and '45 '?

    What version of photoshop are you using?

    New versions of photoshop have a button to use by default at the bottom of the dialog box.

  • Declarative component: InputText: returning from the return to the original value.

    Hello Guyz,
    I have a component declarative which has only one inputText component, and I want people to enter only valid value on this inputText, if the user types any other value, the valid value, I want to replace the original value it was before.

    p.s. the declarative component has an inputText and I try to update this inputText inside the declarative part.

    Example:

    ValidValue = 'HR', 'Account', 'FINANCE '.

    inputText inside the declarative part is showing 'HR' for now... I changed it to 'HR2' now, I want to go back to 'HR' when valueChangeListener is called.
          this.setValueToEL(valueString,
          valueChangeEvent.getOldValue()); //Updates the model
    
      public void setValueToEL(String el, Object val)
      {
        FacesContext facesContext = FacesContext.getCurrentInstance();
        ELContext elContext = facesContext.getELContext();
        ExpressionFactory expressionFactory =
          facesContext.getApplication().getExpressionFactory();
        ValueExpression exp =
          expressionFactory.createValueExpression(elContext, el, Object.class);
        exp.setValue(elContext, val);
      }
    But he does not appear in the user interface when I tab out of this component... I have true and ValueChangeListener autoSubmit but the refresh of the user interface is the question... Your help is appreciated.

    Thank you

    Try if one of these AIDS:

    1 reset the component itself on valueChangeListener?

    yourInputText.resetValue ();

    2 make the customer inputText component true and as mentioned codigoadf.

  • You cannot change the chart value axis when there are several types of graphics in a single diagram

    Illustrator can do graphics with bars and lines / columns, for example in the docs:

    http://help.adobe.com/en_US/illustrator/cs/using/images/gr_15.png

    http://help.Adobe.com/en_US/Illustrator/CS/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html

    However, when I create a chart like this, I seem to lose the ability to manually set the y-axis using 'override calculated values.

    To reproduce this problem:

    1. Create a chart as in the example, with bars and an axis on the left, lines and an axis on the right. Unlike the example, don't fix the numbers as well as the lines align perfectly - have a go until just less than 20, a up to a little less than 250, therefore it do not markers and the number of divisions on each side.
    2. Try to make the markers and numbers of divisions to the height, so in fact, the side that is going up 20 going up to 25 and has the same number of divisions on the other side.

    Everything I have tried does not work:

    • If I select the entire chart and go to the "Chart Type", I can not set the options for the value axis. In earlier versions, it's gray, in CS6 I can access, but clicking on 'OK' does nothing.
    • If I select the entire chart and chose the type of a chart, I can set options for the axis value, but that the selected chart type, and then applies the entire table.
    • If I use the direct Selection tool to select one of the series and open the "Chart Type" options, changing the options of the y-axis has no effect
    • If I use the direct Selection tool to select all series that share an axis and open the "Chart Type" options, changing the options of the y-axis always has no effect
    • If I use the direct Selection tool to select the Group of ticks axis itself, or the axis line and groups of ticks axis themselves, of axis labels, axis and graduations of the axis line, or axis labels, axis line, graduations of the axis and series of related data, etc., by changing the options of the axis also has no effect

    It seems that this feature is broken and it seems that the example in the manual has been carefully chosen to use a rare combination of numbers where it would actually look right.

    I thought about it. Like everything to do with the horrible ancient neglected graphic Illustrator tool, it is ridiculously clumsy and involves the caution around what is shamefully bad programming for a professional expensive product.

    It is timing - to do things in a sequence of rigid counterintuitive that seems not to work then meets at the end:

    1. Create the chart but, for now, keep all the same chart type. If you've already set to have different graphics types, put the same thing for now.
    2. Select the entire chart and in the main window of Chart Types, set the value to "Both sides" axis
    3. In the drop-down menu, there should be a left and right axis (or top and bottom...). Set the parameters of the value axis for these now. It will look like it does for a single axis, because it will not change the other axis - naked with her...
    4. Select the data series you want to use the other axis using group selection. Go to graph Type and the value of the y-axis to the other and set the chart type that you want. All of a sudden all be put in place.
    5. If you need to change the settings for the value axis, select the entire chart, set the whole chart type to a chart, change the appropriate value axis by choosing it from the menu drop down and the re - apply types of graph as above.

    (the bug is - it should not necessary to set the graphic object to only have only one chart of type in order to access the axis options of value for two different y-axis)

Maybe you are looking for

  • I have paid and registered for converterhelper, but had to restart firefox, how do I get it back?

    I had to restart firefox due to ben salah toolobar. Reinstalled downloader helper but can't find where to download converterhelper without paying again for her. I got my registration code. I have windows 7 Home Edition. Any help would be appreciated.

  • How can I change the shortcut key for tab groups?

    CTRL + SHIFT + E is not exactly intuitive or easy to press. Is there a way to restore it to the previous Ctrl + space, or to simply re - link at will?

  • Satellite L650 - touch forgiveness/OFF buttom doesn't work

    I have a Satellite L650, I'm unable to toggle the touchpad with the button on/off button located above the button of the mouse in the L650.I tried to turn the touchpad by using the F9 key and it works fine. But I can't with the power button. Help, pl

  • Fax and scanning of accidents

    Very happy that the scanning with my LaserJet 1220 is supported under Windows7 with scan drivers and Microsoft Scan and Fax. [Previously it has been supported under XP but not Vista]. I have run the Microsoft Scan application and Fax, and it tells wi

  • Microsoft won't let Me hide my IP...

    Hello! Microsoft... I want to hide my IP address... That I could do until 2 days ago, when this message starts to pop every time I tried to hide my IP address... I would like to know can someone help me please access my IP again... Because I need to