How to change form properites at runtime

Hi I have a text data item that I have set to enabled=no and conceal data=yes. I want to write a trigger for a command button that changes these properties to enabled=yes and conceal data=no. How do you change a data items properties at runtime?

<p>Look, in the online documentation at the Set_Item_Property() built-in.</p>
(and keep this link to study the other chapters of this great documentation)
Francois

Similar Messages

  • How  to change form of discoverer portlet

    Hi "All".
    How to change form of discoverer portlet or create new in
    discoverer/portletprovider.
    I try to change discoverer portlet (hide refresh date, view worksheet link)
    but nothing changed.
    If You did it - write exemples xsl or xml files, please.
    Or give a link.
    What files i must edit for edit discoverer portlet.
    Help me in it please.
    Thank you.
    sory for my english

    worksheet_run.xsl
    and after changed -> restart oc4j_forms and oc4j_portal.

  • Change Form Size during runtime

    Could someone tell me how to change the size of my VI form during runtime?
    I want the ability to click a button and have the height increase by 50 points or so, then go back to the original value after I click the button again.
    Thanks for the help!
    Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.

    Ok, that got me on the right track.
    For some reason, though, my VI still does not change whenever I click the button.
    I have attached my VI, saved in 8.2 format.
    Does anyone see why my form doesn't grow by "98" whenever I click the "More >>" button?
    Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.
    Attachments:
    Event Notifications.vi ‏44 KB

  • How to change report displayname at runtime when run from the report server?

    hi all,
    with the reportviewer widget in a winforms app, i'm able to change report displayname at runtime by handling thesubmittingparametervalues event like so:
            private void reportViewer1_SubmittingParameterValues(object sender, ReportParametersEventArgs e)
                string po = e.Parameters["Order"].Values[0];
                this.reportViewer1.ServerReport.DisplayName = "Load Out - " + po + " - " + DateTime.Now.ToShortDateString();
    question: how do i achieve the same thing when the report is run via the ssrs reportserver website?
    thanks for any tips,
    sff

    Hi sherifffruitfly2,
    According to your description, you want to change the display name of report in Report Manager. Right?
    In Reporting Services, we can't make the report file name dynamically. But we have Build-in Fields to show report name and execution time in a report. We can add a textbox and put in the expression below:
    ="Load on- "+Globals!ReportName+" "+Globals!ExecutionTime
    It will show the report name with execution time when we run the report:
    Reference:
    Built-in Collections in Expressions (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to change TLFTextField direction at runtime?

    I create a TLFTextField object at design time and need to change its direction at runtime, how this could be possible?
    the following code did not work and simply ignored:
    var myText:TLFTextField = MyText;
    myText.textFlow.direction = "rtl";
    What should I do?

    Yes, it work and I was know it, for this reason I emphasis that I created control at "DESIGN time", I want to change the direction of controls that created at design time not creating at runtime with var tf:TLFTextField = new TLFTextField();
    To reproduce the problem create TLFText on your scene with text tool and name it "MyText" then
    var tf:TLFTextField = MyText; // instead new TLFTextField();
    ..rest of your code
    now you will see that nothing will be change! I struggled many hours but still no success.
    Do you have any idea in this case?

  • How to change Text2D color at runtime...

    Hi,
    In fact I used Text3D and I was able to change color, text, font, style at runtime. I don't know if you guys have the same problem but Text3D doesn't render correctly (some letters are hidden by others) (i'm on a SGI Irix).
    So I decided to go back to Text2D but I can't find how to change the color, text, font and style at runtime.
    I've a Shape3D instance myShape = new Text2D(someParams);
    When I want to change it I tried myShape = new Text2D(otherParams);
    But nothing happened...
    I've tried detaching the shape, modify it, and re-add it to the graph, but it is still the same after adding it...
    If someone could tell me how I can do that it would be a great help.
    thank you
    Fred

    http://forum.java.sun.com/thread.jsp?forum=21&thread=356750

  • How to change the tablename at runtime?

    Hi
    IN _10gR2_
    I would like to know if there is a way to change the tablename at runtime - other than using dynamic sql.
    These table have similar structure except the tablename iteself.
    For ex. depending on where we get a request we want to look/update different table:
    if request_from x then
    select * from table where ....
    or it could be update or insert statement here
    end if;
    if request from y then
    select * from table_y where ....
    or it could be update or insert statement here
    end if;
    Thanks

    user565033 wrote:
    sorry, this is not an optionWell the best you'll get is something like...
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982       1300                    10
    14 rows selected.
    SQL> select * from emp2;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980          0                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981          0        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981          0        500         30
          7566 JONES      MANAGER         7839 02-APR-1981          0                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981          0       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981          0                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981          0                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987          0                    20
          7839 KING       PRESIDENT            17-NOV-1981          0                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981          0          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987          0                    20
          7900 JAMES      CLERK           7698 03-DEC-1981          0                    30
          7902 FORD       ANALYST         7566 03-DEC-1981          0                    20
          7934 MILLER     CLERK           7782 23-JAN-1982          0                    10
    14 rows selected.
    SQL> with req as (select &required_table as req from dual)
      2  --
      3  select * from emp, req where req = 1 union all
      4  select * from emp2, req where req = 2
      5  /
    Enter value for required_table: 1
    old   1: with req as (select &required_table as req from dual)
    new   1: with req as (select 1 as req from dual)
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO        REQ
          7369 SMITH      CLERK           7902 17-DEC-1980        800                    20          1
          7499 ALLEN      SALESMAN        7698 20-FEB-1981       1600        300         30          1
          7521 WARD       SALESMAN        7698 22-FEB-1981       1250        500         30          1
          7566 JONES      MANAGER         7839 02-APR-1981       2975                    20          1
          7654 MARTIN     SALESMAN        7698 28-SEP-1981       1250       1400         30          1
          7698 BLAKE      MANAGER         7839 01-MAY-1981       2850                    30          1
          7782 CLARK      MANAGER         7839 09-JUN-1981       2450                    10          1
          7788 SCOTT      ANALYST         7566 19-APR-1987       3000                    20          1
          7839 KING       PRESIDENT            17-NOV-1981       5000                    10          1
          7844 TURNER     SALESMAN        7698 08-SEP-1981       1500          0         30          1
          7876 ADAMS      CLERK           7788 23-MAY-1987       1100                    20          1
          7900 JAMES      CLERK           7698 03-DEC-1981        950                    30          1
          7902 FORD       ANALYST         7566 03-DEC-1981       3000                    20          1
          7934 MILLER     CLERK           7782 23-JAN-1982       1300                    10          1
    14 rows selected.
    SQL> /
    Enter value for required_table: 2
    old   1: with req as (select &required_table as req from dual)
    new   1: with req as (select 2 as req from dual)
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO        REQ
          7369 SMITH      CLERK           7902 17-DEC-1980          0                    20          2
          7499 ALLEN      SALESMAN        7698 20-FEB-1981          0        300         30          2
          7521 WARD       SALESMAN        7698 22-FEB-1981          0        500         30          2
          7566 JONES      MANAGER         7839 02-APR-1981          0                    20          2
          7654 MARTIN     SALESMAN        7698 28-SEP-1981          0       1400         30          2
          7698 BLAKE      MANAGER         7839 01-MAY-1981          0                    30          2
          7782 CLARK      MANAGER         7839 09-JUN-1981          0                    10          2
          7788 SCOTT      ANALYST         7566 19-APR-1987          0                    20          2
          7839 KING       PRESIDENT            17-NOV-1981          0                    10          2
          7844 TURNER     SALESMAN        7698 08-SEP-1981          0          0         30          2
          7876 ADAMS      CLERK           7788 23-MAY-1987          0                    20          2
          7900 JAMES      CLERK           7698 03-DEC-1981          0                    30          2
          7902 FORD       ANALYST         7566 03-DEC-1981          0                    20          2
          7934 MILLER     CLERK           7782 23-JAN-1982          0                    10          2
    14 rows selected.
    SQL>Otherwise you'll have to perhaps use a few "alter table rename..." ddl's to switch the table names around prior to your query.

  • Quotation(VA22) - How to change form - sap script or smartforms ?

    Hallo,
    as defaults, by VA22 I can print the quotation by sapscript.
    I have to change form: I have to create a new smartforms instead sap script. in transaction V/30 I can set some parameters to change it.
    My question is: Where is the correct parametrs to entry ?
    (I entered the name of smartforms and a Z print program but I got an error message )
    Any idea ?
    Tks.

    Hi,
    I guess the terminology's causing some problems.  Here's what I think you need to do;
    In transaction V/30 select the Output Type then double-click on the folder 'Processing Routines'.  The columns are as follows;
    Medium - Print, email etc
    Program - Name of the print program
    FORM Routine - name of the subroutine in the print program that will be called
    Form - Name of the SAPscript (if used)
    PDF/Smartform Form - Name of the Smartform, or pdf form (if used)
    Type - If a Smartform or pdf form is specified, select from this drop-down which type it is.
    If you're getting an error when you enter your parameters, it would be useful if you told us what the error was.
    Regards,
    Nick

  • How to change column type at runtime in Apex 4.0

    Hello everybody,
    I´m newbie as Apex developer using Apex 4.0 with OracleXE 11.2, and now my problem is:
    I have a tabular form where one of the columns, when calling the form, is a Display Item, so that you cannot change existing values.
    I want, when adding a new row, that column become a Select List (named LOV) based on a query that exclude existing values in other rows already inserted.
    Can I change that Display Item to Select List (named LOV) programmatically at runtime?
    If not, what other options do I have?
    Thanks a lot for any help,
    Greetings

    976832 wrote:
    Hello everybody,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "976832".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I´m newbie as Apex developer using Apex 4.0 with OracleXE 11.2, and now my problem is:
    I have a tabular form where one of the columns, when calling the form, is a Display Item, so that you cannot change existing values.As a self-confessed inexperienced APEX developer, why are you using complex and ugly tabular forms? Take a moment to think about this: have you ever seen this kind of UI pattern on any decent website: +{thread:id=850889}+ ?
    I want, when adding a new row, that column become a Select List (named LOV) based on a query that exclude existing values in other rows already inserted.
    Can I change that Display Item to Select List (named LOV) programmatically at runtime?
    If not, what other options do I have?I suggest you build this using basic APEX components (form + report from the Form wizard), then customize the form using read-only conditions to switch between the select list and read-only value.

  • HT4059 how to change form of payment on iBooks

    When i try to get into IBooks, i get a message that says my "form of payment is not valid". This make sense because I changed credit cards recently. But i don't how to get in to change my form of payment. Can you help?

    worksheet_run.xsl
    and after changed -> restart oc4j_forms and oc4j_portal.

  • How to change subscriptionDurability status at runtime.

    I have written a MDB which is Durable at startup but I want to change it to 'NonDurable' at runtime on receiving a particular message. Please advise how at runtime I can change the settings of the MDB.
    My MDB class file is as follows:
    package test;
    import javax.ejb.*;
    import javax.jms.*;
    @MessageDriven(          
              mappedName="topic01",
              activationConfig={
                        @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"),
                        @ActivationConfigProperty(propertyName="subscriptionDurability", propertyValue="Durable")})
    public class FirstDurableMDB implements MessageListener {
    public void onMessage(Message message) {
         TextMessage tm = (TextMessage)message;
         try {
                   String str = tm.getText();
    if(str.equals("NonDurable")){
    PLEASE TELL ME WHAT I SHOULD WRITE HERE
              } catch (JMSException e) {
                   e.printStackTrace();
    }

    The TopicSession has an unsubscribe(String subscriptionName) method - http://download.oracle.com/javaee/1.4/api/javax/jms/TopicSession.html#unsubscribe(java.lang.String), but then you will have to rely on plain MessageListeners rather than MDBs.

  • How to change style property in runtime

    Hallo. I have this style tag in my main application:
    <fx:Style>
         @namespace s "library://ns.adobe.com/flex/spark";
         @namespace mx "library://ns.adobe.com/flex/halo";
         @font-face {
         src: url("../caratteri/MyriadPro-Bold.otf");
         fontFamily: "MyriadPro-Bold";
         embedAsCFF: true;
         .mioStileMyriadProBold {
         fontFamily:MyriadPro-Bold;
         fontLookup: embeddedCFF;
    </fx:Style>
    It works good but i wish to change the fontFamily while the program is running. How can i do that?
    Thx a lot.
    Max

    Hallo. Thx for the answer. I would like to know if your solution is working always. I mean, in my example i showed you that i have this:
    .mioStileMyriadProBold {
    fontFamily:MyriadPro-Bold;
    fontLookup: embeddedCFF;
    But what if i have 2 custom styles??.. How can i change one or another specifically ??
    I hope you understand what i mean.
    Max

  • How to change chart type at runtime

    hi
    this application uses forms 6i client server environment, graph control is being used with og.interept libray,
    passing parameters run times thru forms to charts.
    issue is that, i want to change chart type at run time, when user changes list item like 'pie' and 'bar' value instead of creating two different charts i.e pie and bar.
    below is the code is being used to run charts.
    begin
    declare
    pl_id ParamList;
    query0 varchar2(256);
    begin
    query0 := 'select deptno, sum(sal) from emp where deptno in( '||:dept1||','||:dept2||') group by deptno;';
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'dept1',text_PARAMETER,:dept1);
    Add_Parameter(pl_id,'dept2',text_PARAMETER,:dept2);
    if :ch_type = 'pie' then
    og.interpret('e:\mas\emp2.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp2.ogd','g1');
    elsif :ch_type = 'bar' then
    og.interpret('e:\mas\emp3.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp3.ogd','g1');
    end if;
    END;
    end;
    thanks
    i'd be appreciated on early reply.
    ali

    hi
    this application uses forms 6i client server environment, graph control is being used with og.interept libray,
    passing parameters run times thru forms to charts.
    issue is that, i want to change chart type at run time, when user changes list item like 'pie' and 'bar' value instead of creating two different charts i.e pie and bar.
    below is the code is being used to run charts.
    begin
    declare
    pl_id ParamList;
    query0 varchar2(256);
    begin
    query0 := 'select deptno, sum(sal) from emp where deptno in( '||:dept1||','||:dept2||') group by deptno;';
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'dept1',text_PARAMETER,:dept1);
    Add_Parameter(pl_id,'dept2',text_PARAMETER,:dept2);
    if :ch_type = 'pie' then
    og.interpret('e:\mas\emp2.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp2.ogd','g1');
    elsif :ch_type = 'bar' then
    og.interpret('e:\mas\emp3.ogd','g1',query0,true,pl_id);
    og.close('e:\mas\emp3.ogd','g1');
    end if;
    END;
    end;
    thanks
    i'd be appreciated on early reply.
    ali

  • How to change form targets

    hi,
    iam having main form with two frames.in one frame iam calling a page called disp.jsp.i will enter data and submit the data then the results come in second frame.that is botom frame of the first frame.but inthe disp.jsp page i have a select box in that i have written onchange function..for this on change iam submitting to same form with document.form.submit().on the other hand when iam submitting i kept target="secondframe".so when iam chanign the value on select box then its going to bottom frame.in that function i want to set the location as top frame..
    regards,

    document.formname.target = "blahblah";
    works in JavaScript.

  • How to change Form Builders output folder

    Hello,
    we have a big forms migration project in our company and are currently setting up our development envirionment.
    We have a src/ and a run/ folder.
    src/ holds the sources like fmb, run/ holds the fmx, plx etc.
    The run/ folder is the folder where oc4j searches for the fmx.
    The src/ folder MUST be the working dir of Oracle Forms Builder(OFB), because the builder searches for *.pll in his working dir. If it does not find them, the librarys will be removed from the form (thus, they will never ever run).
    The problem for us is, that OFB compiles the files to working dir (src/). We will have to copy them manualy to run/ to test them*.
    *I know, you can start each form right from OFB. But we have a start form, that does a lot of initializing for the app. If you try to start a form standalone, it will rain error messages. So you have to start the app by starting at that form.
    How can you specify the output folder of Oracle Forms Builder?
    How do you set up you development envirionment?
    EDIT Our Version:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    Edited by: user5828099 on 08.01.2009 05:59

    For building a complete application it could be quite useful to do a batch-compile of your forms and do not do a manual compilation using forms-builder.
    You could have look at this Re: Migrating Forms 61 to 10g - Forms Builder Crashing

Maybe you are looking for

  • Why can't I access the internet from my ipad2

    This problem started after the most recent update. Hotspot is on my iPhone4, carrier is Verizon. Did not have this problem before update. Do I need to restore iPad to original? What do you think?

  • MSI-875P-FIS2R

    "BUMP" Hi WOW!  I have just purchased the MSI 875P Neo and after reading through the many, many problem posts regarding this motherboard on this board, I'm beginning to wonder if I've made the right choice?  Just read one from 'ferres' saying that he

  • Problem with- FWZZ(BDC)

    hi i am trying to use bdc for uploading mutual fund dividend (tcode-FWZZ). actually two tables VZZKOPO & VWBEPP gets updated when we run the transaction.But when i am running my bdc only one table is getting updated i.e VZZKOPO.why it is happenig lik

  • Handbrake Screen Size

    I made an interesting discovery on handbrake by accident last night. I put in Indiana Jones and the Temple of Doom before I went to bed, adjusted all the settings but forgot to adjust the screen size. I've done this before and I usually would have ju

  • Setup dynamic Web Service Data Source

    Hi all, is there a way to setup a "dynamic" web service data source like WSDL-URL = 'http://${server_ip}:${server_port}/XYZService?wsdl and passing in the server_ip and server_port variables from outside upon document rendering? As far as we have see