How to change dynamically text label at run time in the forms

Hi,
I am having a form in which i want to change the text label dynamically. I mean when a certain condition match then text label should be change and when condition does not match then the text label should reamin as it is in the same form.
plz help
thanks in advance
azhar

Hi,
Use this code to change the label at run time.
set_item_property('deptno',prompt_text,'pagal dept');
Prompt_text is used for changing label at run time.

Similar Messages

  • How to generate database text items at run time in oracle forms 6i?

    i have a text item with NUMBER OF ITEMS DISPLAYED=3. My requirement is, i need to generate text items at run time under each TEXT ITEM(3 text items will be there since number of items displayed is 3) and the values will be stored in the database based on the primary key combination. pls help me to solve this pblm

    Hi,
    You cannot generate items dynamically at runtime. The only thing you can do is show and hide item on time. Thay seems that they are generated at run time. Second thing you can do is that you can put items on stack canvas and set visible property of stack canvas to no and at run time set it to visible according to ur condition. Otherwise there is no way. If you find any other way, plz do inform here also.

  • How to change dynamic text on mouse click of an object

    Here is my Project File.
    I'm wanting to change dynamic text when an object is clicked.
    I created 3 dynamic text boxes under "Selected Colors" and gave them instance names of selected_roof_color, selected_trim_color and selected_wall_color.
    When the user clicks a color (ie Arctic White) and then clicks say the roof, I want the "Selected Color" to display "Arctic White" to the right of "Roof:". 
    The colorable areas on the building have been given instances of roof, walls and trim.
    I used this tutorial to change in the textbox underneath the colors when you mouse over a color.
    Thank you for your assistance.

    My first button color is Arctic White and it has an instance of arcticwhite.
    The actionscript for the Arctic White Button is:
    on (release) {
        _root.fillColor = 0xf3f5f4;
        _root.brush.gotoAndStop(1);
    The roof button has an instance of selected_roof_color and my dynamic text field where I want "Arctic White" to appear is given an instance of selected_roof_text.
    Using your suggestion, my main Actionscript now has the following
    roof.addEventListener(MouseEvent.CLICK,roof);
    function roof(e:MouseEvent):void{
    selected_roof_text.text="roof";
    Looks like I've still got something incorrect as the selected_roof_text isn't changing when I click a color onto the roof.
    Can you explain what the F in "roofF" is?  Is that a typo?

  • How to change Content canvas size during run time?

    Hi All,
    I am using oracle 10g web forms and opening in Separate Frame. When I re-size the MID window, I want to change Content canvas size to window size. Is it possible to change content canvas size at run time? Even after using following statement it is not working.
    set_canvas_property('content_can', WIDTH, 200 );
    set_canvas_property('content_can', HEIGHT, 100 );
    Please help me.
    Regrads

    Francois,
    Yes, I have used messages, when get the current values (after setting new values) it shows right one but on the screen it is not accurate because
    it is going beyond the window size and it adding scroll bars. I am using window W&H minus some numbers. When I look at the help it says size in characters. How to set the Content canvas size in characters?
    Is it possible to change the Content Canvas size in Run time? Please help me.
    Regards.

  • How to change property file contents during run time?

    Hi everyone. First post so go easy on me please.
    I have a couple of properties that I want to read from a from a file. To achieve this I simply use:
    ResourceBundle.getBundle("my.package.MyItems").getString("MyProperty");
    This works like a wonder. The problem is, i want to change the property "MyProperty" during runtime. I've found the properties file (MyItems.properties) inside weblogic, but if a change its contents it does not reflect in the application.
    I can come up with a couple of justifications:
    * I'm not looking in the right folder/changing the wrong file in the server;
    * Weblogic caches the properties file, meaning that I have to redeploy the project (defeating the purpose of actually having a properties file).
    Can anyone help with this one?
    [EDIT] Forgot important info:
    * JDeveloper 11.1.1.4
    * Weblogic 11.3 (not 100% sure)
    * Both JDev and WebLogic running on Windows 7 64 bits
    Thank you in advance!
    Best Regards
    J. Peixoto
    Edited by: 868634 on Jul 12, 2011 9:37 AM
    Edited by: 868634 on Jul 12, 2011 10:21 AM
    JDeveloper 11.1.1.4, not 3

    I tried it all.
    Just an explanation of my context.
    I have 1 application with 2 projects in it. First project is called "CommonUI_ViewController" and the second one "FO_ViewController".
    The properties file I'm trying to change is located inside "CommonUI_ViewController", in package "PropertiesConfig" and the file is called "PhaseListener.properties".
    "FO_ViewController" is dependent on "CommonUI_ViewController". When I run "FO_ViewController" the integrated weblogic server log shows this (among other things):
    [10:25:55 AM] Wrote Web Application Module to D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\FO_ViewControllerWebApp.war
    [10:25:57 AM] Wrote Web Application Module to D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\CommonUI_ViewControllerWebApp.war
    Note: both lines above point to folders. "FO_ViewControllerWebApp.war" and "CommonUI_ViewControllerWebApp.war" are NOT war files, but folders that have that name.
    I tried changing the properties file in the following locations:
    * D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\FO_ViewControllerWebApp.war\WEB-INF\lib\adflibSPVCommonUI.jar > PropertiesConfig\PhaseListener.properties;
    * D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\CommonUI_ViewControllerWebApp.war\WEB-INF\lib\adflibSPVCommonUI.jar > PropertiesConfig\PhaseListener.properties;
    * D:\JDeveloper\dump\system11.1.1.4.37.59.23\o.j2ee\drs\SPV_BPM\CommonUI_ViewControllerWebApp.war\WEB-INF\classes\PropertiesConfig\PhaseListener.properties (no need to open any jar/war to get to this one).
    I changed all these files with different values but no change was shown in the application (using the method in the previous post).
    I believe that I'm still doing something wrong :/
    Thank you for your help so far vinod_t_krishnan!
    J. Peixoto

  • How to change "vendor text " label in BBPSC01 and BBP_POC

    Hi,
    In French logon , i have a wrong translation for "vendor text" in the document tab for the SC and PO.
    I was not able to find the correct function group where "document" tab is managed
    Do you know where to change this description ?
    Kind regards,
    Yann

    solved.
    Text schema in SPRO...

  • How to change file location path at run time in OWB 10g

    Hello all,
    We want to load several files with the same name but from different folders into a single table.
    The information about the paths is stored in an oracle table.
    Is there any best practice to achieve this?
    Our approach is to loop on the number of sources and execute the mapping after changing the location path. We found how to make the loop, and have the apropriate OMB command to update the location path, but we are still looking for a way to call this OMB plus command in a process flow or a mapping. Any idea?
    We also succeeded in loading the file from an unregistered location, which is necessary to be able to update the path, but I'm not sure this is really the best approach. Any advise?
    Thanks in advance for your help!
    best regards
    Cedric.

    Hi,
    I can provide you with an idea on this, dont know if it will work or not.
    Suppose, you need to load 5 files in different folder locations into a single table. Call the mapping 5 times in a process flow. If you log in to the database, and go the table all_directories in your target schema, you will find an entry for the actual path of the file you are trying to laod. I think if this path is updated before each run of the mapping, you can load all files into the target table. Only thing you have to do is call a procedure which will update this record in all_directories table with the different locations each time you want and then plug in this procedure before each call to the mapping in a process flow and see if it works or not?
    Regards
    -AP

  • How to read several text files at a time

    Dear all
          Read and write one text file is not a problem, but  what confusies me is how to read several text files at one time, in the meanwhile,
    is it possible to display the name of the text file?
    For example, assuming I want to load file" cha 1, cha 2 , cha 3, " at one time and show their names, how to hadle with it
    I have reviewed some files and it is not helpful

    Either with a 'for' loop like in the lib you have attached, or like this attached VI
    that's it
    Message Edited by devchander on 05-30-2006 05:11 AM
    Attachments:
    MULTIPLE READ.vi ‏44 KB

  • SQL Subscription field shows * only with Dynamic Text Label in SQL query

    We are using Hyperion Analyzer 7.2.x for showing budget and actual data. I have to show this financial data based on the security e.g. person in IT can see only IT dept. data. Hence I want to use dynamic text label <<userid>> for the security based on the person logging in to Analyzer.
    But when I use dynamic text label <<userid>> in the SQL query in SQL Spreadsheet, SQL Subscription field shows * only selection option. Does anyone have idea how to solve this problem?
    Thanks in advance for your help.
    -SV

    Hi
    Okay i know this is a bit crazy way.....but i think this is the solution for your issue.
    Create a report without the where clause (<<useris>>) then add a filter (sql subscription) then you can find all the values that are there in the SQL field (try to increase the query limit it is set to 250 as default) then edit the spreadsheet and add the where clause (<<userid>>).
    This will help you having the filter and the dynamic text label. I think there is an issue when you try to filter it with a where clause.
    Hope it helps.
    CK

  • Referring to Dynamic Text Labels in Web Analysis

    Hi,
    How do we refer to Dynamic Text Labels as variables in SQL query in SQL Spreadsheet object or any other object in Web Analysis?
    WA documentation gives the following formats to put in the Insert Text for Labels. But I would like to know if this is the same way or a different way we would refer to them as a variable in SQL query.
    <<filter DataSourceName1,0>>
    <<cell DataSourceName1,0,0>>
    z

    can you tell me what inherit permission you gave to make it work.
    I have a folder having a view access only. whenever i make new reports as admin...i cant see my new reports untill i refresh the "apply permission to children" options gain.
    But thats not what i m looking for...i want it come on its own when I create a report.

  • How We Can Change Page Size During Report Run Time

    Hello !
    How We Can Change Page Size During Report Run Time .
    How can we stop to change the column name when we amend a sql in report data model.
    Thanks !
    null

    hello sohail
    1. question - i'm afraid this cannot be done ... bit in report 6 and newer you have posibility to divide your report in 3 parts (former header, body, trailor) and each part can have diferent page siz, orientation , ...
    2. question - best is give each column in your statements in one report diferent alias. when you have to chnge something, alias will remain same ...
    try this: select 1 as fist_column, 1 as second_column from dual
    hope this helsp

  • How to change a text item to have a link that opens a different page?

    Hi,
    How to change a text item to have a link that opens a different page?
    Thanks,
    Guy

    Hi Denes,
    I understood what the code will do. But it did not work.
    ...a href="f?p=&APP_ID.:2:&SESSION.">LINK</a...
    By default, P5_TASK_NAME displays Task Name which is passed from Page 3.
    So I changed your code as follows so that P5_TASK_NAME value may be displayed with a link.
    ...a href="f?p=&APP_ID.:3:&SESSION.">:P5_TASK_NAME</a...
    But P5_TASK_NAME value appears without any link and does not open page 3.
    Then I created a new text item (display only) in the same HTML region in page 5 and entered the following code in the default box:
    ...a href="f?p=&APP_ID.:3:&SESSION.">LINK</a...
    When I ran the application, it displayed the whole code as text.
    How can I display P5_TASK_NAME value with a link to open page 3?
    Would appreciate your help.
    ... to be replaced with < or >
    Could you please let me know how to display link code correctly?
    Thanks,
    Guy
    Edited by: GUY3 on Mar 11, 2009 4:20 PM

  • How to change standard text in(me33k)?

    How to change standard text in me33k (under Reference data : Dept/Proj Manager) field. I tried it changing in CMOD - under Goto in Text enhancements in Keywords then Change . I did this change and in table ekko-verkf I can see the change, but in me33k I cannot . Appreciate if anybody can  reply back soon and help me solve this issue? points awarded for sure.

    If u are talking about the text  related to a Contract by (Trx ME33K --> Header --> Texts --> Text Overview).
    Then u need to use the FM create_text and then put the import parameters as
    Text Name     =  (contract number)
    Language       = EN
    Text ID        = K00  Release order header  text put K01 for first item text K02 for second item text so on
    Text object    = EKKO       Purchasing doc. header texts
    and then call bapi_transaction_commit
    u ll be a ble to find the changes
    thnks
    kanishak

  • How to change standard text in portal

    How to change standard text in portal
    Pls reply

    Archana,
    Please post it in the relevant forum(Portal Implementation/development)
    What text do you want to change.
    Thanks
    Bala Duvvuri

  • How to get updated value at run time in oracle forms

    How to get updated value form oracle database on a field in oracle forms 6.0 at run time if the same form is opened by multiple users and both have get the same maximum value if one commit the record then how other would get that maximum value with out exiting that form...

    This issue is fairly common and Forms handles the situation by displaying the error, "Record has been updated by another user. Requery to see changes." if a user tries to update a record that was updated by another user.
    If your data is in a base table block, you can check before you save by checking the value in the form against the database using the Get_Item_Property('<BLOCK.ITEM>',DATABASE_VALUE). You can compare the value returned by the built-in against the value in the field to see if they have changed. This could be a lot of work and a lot of network traffic if you are checking numerous items in your data block. Forms has a standard locking mechanism that will lock the queried record as soon as a user makes any changes. If another user queries and attempts to change the record locked by another user - they will receive a "Record Locked" message.
    Francois brings up a valid point. Perhaps you should review the link Francios provided as well as this one: How to ask questions the smart way
    It is always a good idea to review your thread before you post it and ask yourself, "Could I answer this question given the information I've provided and the way I've asked the question?"
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • How do I sync my address book contacts on my iphone and clear all other contacts on my phone (issue with icloud?)

    When I purchased my iphone 4S, I had all my old phone's information transfer over to my new phone.  I organized my address book on my mac powerbook and then hoped to sync my computer's address book to my phone - in hopes of erasing all the junky cont

  • Port forwarding difficult to set up, or doesn't wo...

    Hello, I have a BT Home Hub 5 and needed to forward the ports for a couple of programs i use. Terefore i went  on 192.168.254 to set up the forwarding of the ports. Before that set up a static Ip in the router in the classic way (cmd - ipconfig all -

  • How to bind xml or any data to a mobile list in Dreamweaver?

    I am trying to figure out what should be a simple thing in Dreamweaver. That is while using jquery mobile, how do I attach an xml file to the attribute list elements? If that isn't possible, would someone be able to tell me or direct me to a way to h

  • Distinct query problem

    Hi, Does anyone know why this doesn't work? USE LOGONs; SELECT ComputerName, Description, Make, Model, Servicetag, [Serial Number], TagShipdate, OperatingSystem, startdate, enddate FROM All_Warranties_Archive$ WHERE TagShipDate < DATEADD(dd,-1095,GET

  • Red Eye Malfunction

    Help! I was using the red eye function, and a black spot appeared on my daughter's white dress. Initially, I fixed the red eye problem, but in the process didn't notice a black spot (caused by the red eye function) on her dress before clicking apply