How to dynamically generate textbox and update datbase

Hi,
  I am creating a from which has steps number of steps varry from process to process, so what I am thinking is to display one text box intially and to display another text box and hide first text box when user click next text button, Is there a way to do this ,,,,
thank you.

If you're using CF7 or later, you can use Rich Internet Application forms (aka Flash Forms) which gives a number of options as far as "tabbed" forms go.
If you're using CF6 or earlier, or you don't want to mess with Flash Forms, it _can_ be done using JavaScript, but it's a royal hemhorroid to work with.
^_^

Similar Messages

  • How to add new row and update existing rows at a time form the upload file

    hi
    How to add new row and update existing rows at a time form the upload file
    example:ztable(existing table)
    bcent                      smh            nsmh         valid date
    0001112465      7.4                       26.06.2007
    0001112466      7.5                       26.06.2007
    000111801                      7.6                       26.06.2007
    1982                      7.8                       26.06.2007
    Flat file structure
    bcent                       nsmh         valid date
    0001112465     7.8     26.06.2007  ( update into above table in nsmh)
    0001112466     7.9     26.06.2007  ( update into above table in nsmh) 
    000111801                     7.6      26.06.2007 ( update into above table in nsmh
    1985                      11              26.06.2007   new row it should insert in table
    thanks,
    Sivagopal R

    Hi,
    First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.
    Then :
    Loop at it.
    *insert or modify as per your requirement.
    Endloop.
    Regards,
    Srilatha.

  • Trying to update to ios6. Download it fully then it finishes and says the connection timed out and tells me to check my network settings. How do I fix this and update my iPhone?

    Trying to update to ios6. Download it fully then it finishes and says the connection timed out and tells me to check my network settings. How do I fix this and update my iPhone?

    Just what happenede when you signed out and signed back in in Settings>iTunes and App Store? What does "fail" mean?

  • How to create a textbox and dropdown list in Java similar to google search

    Hi,
    I want to create a textbox and dropdown in java very much similar to google search . As user types in the letters it should display the dropdown list similar to google. Can anyone help me with this one asap.
    Thanks
    Lavanya

    But my real problem is how to apply the chmod 777 on a folder containing spacesSo why not say so in the first place?
    Runtime.exec ("chmod 777 My\\ Folder");Runtime.exec(new String[]{"chmod", "777", "My Folder"});
    That is why I chose the example of mkdirYour reasoning on this point is incomprehensible. You wanted help with A so you asked about B. Just wasting time.

  • How do I generate PDF and CHM files from the a command line in windows?

    I am trying to set up a PC to build some documents during the night. I was looking for a way to get framemaker to generate PDF and CHM files via a command line in windows? How is this done with FrameMaker 12
    Thanks for the help
    Alex

    Hi,
    The part with generate a PDF via a jsx seems to work OK, except when FrameMaker decides that it will not work anymore. I must say I am not impressed with the stabillity of FrameMaker 12, there is room for a lot of improvement!.
    I have given up on how to figure out how to get FrameMaker 12 to generate chm files via jsx scripts, any pointes are still very welcome.
    The route I have taken is I make a RoboHelp project for each chm files I need to generate. The only thing this RoboHelp project contains is a link to the actual FrameMaker project I want to generate a chm file.
    To make the chm I start RoboHelp with a script that
    1) Opens the desired project
    2) Sets the desired output chm files name
    3) Generates the chm file
    4) And finally quits RoboHelp
    Below is a copy of the jsx in case anyone can reuse anything.  And yes parameters are transfered via enviroments variable. I have later learned there is some way to read the parameters given at a command line but this seems to work so I stick to this for now.
    // Get parameters
    var RhProjName = $.getenv("RH_PROJ_NAME");
    var RhChmName = $.getenv("RH_CHM_NAME");
    var RhLogFileName = $.getenv("RH_LOGFILE_NAME");
    var RhLogFile = new File(RhLogFileName);
    RhLogFile.open("w", "TEXT");
    RhLogFile.writeln("RH_PROJ_NAME : ", RhProjName);
    RhLogFile.writeln("RH_CHM_NAME : ", RhChmName);
    doc = RoboHelp.openProject (RhProjName, 1);
    var sslmngr = RoboHelp.project.SSLManager;
    for(var i = 1; i<=sslmngr.count; i++){
      var ssl = sslmngr.item(i);
      if(ssl.name == 'Microsoft HTML Help') {
        // Set the output location and file name
        ssl.setSpecificProperty("DestinationProjectName", RhChmName);
        if (doc.saveAll(true) ) {
          RhLogFile.writeln("saveAll returned TRUE");
        } else {
          RhLogFile.writeln("saveAll returned FALSE");
        if ( ssl.generate() ) {
          RhLogFile.writeln("ssl.generate returned TRUE");
        } else {
          RhLogFile.writeln("ssl.generate returned FALSE");
      } else {
        // alert ("Found " + ssl.name + " dont do anything");
    doc.saveAll(true);
    RhLogFile.close();
    RoboHelp.closeProject();
    RoboHelp.quit();

  • How to dynamically generate parameters based on dropdown?

    Hello,
    newbie ABAPer question..
    I was wondering if it's possible to dynamically create a UI based on the values on a drop list/drop down box?
    For example, screen would initialize too
    dropdown list filled with 1 - 50
    field1 field2
    user selects 10 from the drop down list, then the screen would look like this:
    drop down list dropdown list filled with 1 - 50
    field1 field2
    field3 field4
    field5 field6
    field7 field8
    field9 field10
    field11 field12
    field13 field14
    field15 field16
    field17 field18
    field19 field20
    thanks for looking!

    Then you need to use fm
    FREE_SELECTIONS_DIALOG
    for dynamically generating the selection parameters screen.
    Please make a search on this forum for sample code how to use this

  • How do I order ResultSet AND update? My attempts yield ORA-00907 or  ORA_01732

    I am using JDev 9.0.3 to create an application I run using Java 1.3.1 and Oracle 9.2.0.1.0 JDBC drivers.
    I want to select the rows of a single table ordered by a "sortorder" column, iterate through the records, update as required, and occasionally move to the insert row, insert a record, and move back to where I left off.
    Can anyone supply the recommended way to do this?
    Now if I drop the "order by" clause/requirement I can do this just fine.
    However, if I add the "order by" clause (as below) I get error ORA-01732 "manipulation operation not legal on this view" when issuing rs.insertRow() (note NOT moveToInsertRow(), updateLong(), etc. but the actual insertRow() )
    myconn.prepareStatement(
    "select rowid, temptopsort.* from temptopsort order by sortorder"
    , ResultSet.TYPE_SCROLL_INSENSITIVE
    , ResultSet.CONCUR_UPDATABLE
    I get this same result with ResultSet.TYPE_SCROLL_SENSITIVE, with JDK 1.4.1 (and appropriate Oracle ojdbc14.jar, etc.)
    So again my questions is HOW DO YOU ITERATED THROUGH AND ORDERED RESULT SET AND UPDATE/INSERT?
    Thanks
    R.Parr
    Temporal Arts

    Thomas,
    Oracle was the first RDBMS I used (way back, around the year 1990, I believe). Several years later, I moved from Oracle to Informix. It took me a long time to realize that, although Informix and Oracle are both RDBMSs, they are very different. What I needed to do was forget how I used to work with Oracle, and learn how to work with Informix.
    Naturally, before I came to this realization, I spent a lot of energy cursing Informix and wondering, "why doesn't it work like Oracle does?"
    However, after I made the "mind-switch", and learned to do things the Informix way, everything was smooth sailing (and very enjoyable, too :-)
    So I'm only guessing, of-course, but I get the feeling that you may be encountering a similar reaction to me, now that you are migrating from "MySQL" to "Oracle".
    The usual advice I see given to people in (what I assume to be) your situation, is to peruse the Oracle documentation and/or the book "Expert One-on-One Oracle" by Thomas Kyte.
    Good Luck,
    Avi.

  • How multiple users can open and update it same time in Sharepoint 2010, excel file

    we are using SharePoint 2010, multiple users can open and update the file at same time in SharePoint, I have searched a lot and
    read it, some suggestions were can create the file as share work book and then save on Share point and other were its supported only with Office web Apps, Excel Web App, we don't have office Web apps or excel web app, is there any other suggestion,
    any help will be great, thanks in advance

    Hi,
    You need office web apps for co-authoring, see Software version requirements for co-authoring in SharePoint 2013 and SharePoint Online section in below link -
    http://technet.microsoft.com/en-us/library/ff718249(v=office.15).aspx
    and
    http://office.microsoft.com/en-us/sharepoint-foundation-help/document-collaboration-and-co-authoring-HA102772333.aspx
    Edit: Link for SP 2010
    http://technet.microsoft.com/en-us/library/ff718249(v=office.14).aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How I fixed iTunes 5 and Updater 2005-09-23 problem

    After a frustrating couple of weeks I have music back on my iPod! (BTW, I drove to an Apple store 60 miles from home and the Genius told me that if this was a major problem Apple would shortly be releasing another update to fix what this update broke. I would have to just wait for Apple to release some more new software.)
    I didn't like that advice. Since I knew that everything worked just fine before the updates I decided to "go back". You can't download old releases over new ones so here is what I did.
    1. I copied the iTunes music folder to my desktop just to be sure I wouldn't lose my music.
    2. Then I deleted everything connected with iTunes and iPod (including Quick Time) off my computer.
    3. Then I used the CD that came with my iPod to re-load everything.
    4. iTunes did not populate with my music so I dragged the music folder into my library. It was still in My Music as well as on the desktop.
    5. I connected my iPod and everything worked perfectly!
    Yippee!

    Correction. There are other problems with iTunes and the iPod 2005 update. First I tried to download the iPod software update, and then when I went to install it, a message came up saying that there is nothing to install. So I quit iTunes 5.0, and went to the Utilities folder.
    There I chose the iPod updater. I assumed it supported the iPod that has the touch wheel and dock connector. I go to update my iPod later to find that the application I chose to update it does not support my model. This is very frustrating!!! On the website it says it supports and updates all models!!!! I am not going to the Apple store to buy a new iPod just so that I can upload my purchased music. Something has to be done about this!
    Any suggestions?
    Frustrated iPod owner
    After I tried to update my iPod it erased all my music. And now it is not even connecting to the computer or responding. It is almost as if the battery died, and there is nothing I can do to bring back the music.

  • How to gray out textbox and button

    Hello, I am new to Java, and I am do not know how to disable a textfield and a button, as in just gray it out. Does anyone know how to do this.
    Button max = new Button("Max");
    TextField box = new TextField("Enter your name",20);
    box.whatDoIputHere(false);
    max.whatDoIputHere(false);Thanks for any help

        box.setEnabled(false);
        max.setEnabled(false);

  • How to execute ATP check and update schedule lines for existing sales order

    Hello all,
    After stock quantity has been updated, we’d like to perform ATP check and update schedule lines for sales documents which have not been delivered yet.
    Is BAPI_SALESDOCUMENT_CHANGE useful to do so?
    If so which fields should I set ‘X’?
    At the moment, I called BATCH INPUT and execute ATP check.
    But I'm wondering if this is not a smart way.
    Thank you
    Yuko

    Hi arnab
      one way of achieving your requirements is
    after creating the sales order you can execute the SALEs order MRP using MD50 transaction enter the order # and MRP control parameters 1,3,1,2. and execute.
    Ensure the following before MRP.
    1. All the master data are maintained for the schedule line creation for the components ( Source list, Scheduling agreements)
    2. Material master with valid MRP data.strategy group having MTO strategy.
    after sales order MRP you will get the schedule line created for the components
    also MRp will create the cpacity requirements as we run the MRP with Lead time scheduling.
    Hope this helps
    SK
    Reward your points

  • How to dynamic construct checkbox  and get the selected status

    Hello. I'm new to the JSF development. I need to dynamically generate the table data based on the selection of database table name . The first column is the checkbox which will allow user to select one or more rows for modification, deletion, etc. Here is the partial code that i wrote to add checkbox to the first column of the table in the backing bean. I would like to generate the same checkbox binding as we did from Design Palette.
    <webuijsf:checkbox binding="#{UpdateTable.checkbox}" id="checkbox" selected="#{UpdateTable.selectedRow}"/>
    Checkbox checkbox = new Checkbox();
    checkbox.setValueBinding("name", getApplication().createValueBinding("#{currentRow.value['ROWID_VALUE']}"));
    checkbox.setValueBinding("selected", getApplication().createValueBinding("#{UpdateTable.selectedRow}"));
    tableColumn1.getChildren().add(checkbox);
    Once user checked the box, the backing bean should be able to catch the event.
    * Records whether or not the current row should be marked as selected,
    * based on the state of the checkbox.
    public void setSelectedRow(boolean b) {
    System.out.print("click");
    TableRowDataProvider rowdp = (TableRowDataProvider) getBean("currentRow");
    RowKey rowKey = rowdp.getTableRow();
    if (checkbox.isChecked()) {
    selectedRows.add(rowKey);
    } else {
    selectedRows.remove(rowKey);
    But it's not working as I thought. I'm not sure if I can binding selected with backing bean attribute like I did above. Please help!!!
    Edited by: askMore on Aug 6, 2009 12:25 PM

    dt cust min max
    1   a 100 200
    1   b 300 400
    1   c 500 600
    2   a 200 300
    2   b 400 500
    2   c 600 700
    CREATE OR REPLACE FUNCTION scott.rowtocol(p_slct IN VARCHAR2,p_dlmtr IN VARCHAR2 DEFAULT
    RETURN VARCHAR2 AUTHID CURRENT_USER
    AS
      TYPE c_refcur IS REF CURSOR;
      lc_str VARCHAR2 (4000);
      lc_colval VARCHAR2 (4000);
      lc_colval2 VARCHAR2 (4000);
      c_dummy c_refcur;
    BEGIN
      OPEN c_dummy FOR p_slct;
      LOOP
        FETCH c_dummy
        INTO lc_colval,lc_colval2;
        EXIT WHEN c_dummy%NOTFOUND;
        lc_str := lc_str || p_dlmtr || lc_colval || '=' || lc_colval2;
      END LOOP;
      CLOSE c_dummy;
      RETURN SUBSTR (lc_str, 2);
    END;
    SQL> SELECT DISTINCT a.dt,
                    rowtocol
                    ( 'SELECT cust , min  FROM tst WHERE dt = '
                      || ''''
                      || a.dt
                      || ''''
                    ) AS min ,
                   rowtocol
                    ( 'SELECT cust , max  FROM tst WHERE dt = '
                      || ''''
                      || a.dt
                      || ''''
                    ) AS max
    FROM tst a;
      2    3    4    5    6    7    8    9   10   11   12   13   14 
         DT MIN                         MAX
          1 a=100,b=300,c=500               a=200,b=400,c=600
          2 a=200,b=400,c=600               a=300,b=500,c=700

  • How to dynamically generate HTML in Servlet without all the out.println?

    Since I am not sure whether this is a Java Servlet or JSP problem, so I will describe my situation. And hopefully someone can propose a good solution. I came from a PHP, so Java Servlet and JSP are still a little bit foreign for me.
    My problem
    My front end is a JSP page that essentially contains a form (let’s call it form1). The reason it is a JSP not a HTML is because I will need to load form data from the backend and display them in the form. Once the user submits the form, it will go to a backend Java Servlet (let’s call it servlet 1), which loads data from files according to user input. Then, I will need to dynamically create a new form (let’s call it form2) based on the data loaded from files. Once the user inputs and submits form2, another Java Servlet (servlet 2) will do more processing. That is the end of line. Both form1 and form2 require Javascript.
    My question is that since servlet 1 will need to dynamically create form2. I naturally will want a presentation control. Instead of doing out.println(“html code”), I want to use JSP and write direct HTML code. On the other hand, can JSP be used as a form action? So basically, in form 1, can I do <form action=”…/xxx.jsp”> I think I saw something like this, but I lack the comprehensive JSP knowledge to know for sure. More importantly, if hypothetically JSP can be used, how do I handle functions such as doGet(HttpServletRequest request, HttpServletResponse response), which is used in servlet1.
    Thank you,
    M

    no, servlets should not be used to generate a view, that is what a JSP is for. So let your backend servlet fetch the data, put it for example as attributes of the request scope (request.setAttribute()) and then forward control to a JSP that will generate the view, based on the information you stored in the request scope. That is the proper way of using servlets & JSPs; use servlets to invoke business logic classes, use JSPs combined with JSTL to generate the view. If you do it properly, you don't need ANY java code in your JSP.

  • How to read XML file and update the data in MS CRM 2011?

    Hi Folks,
    Can anyone please help me finding some references to read XML files and push the data to MS CRM 2011 preferably by using a console application.
    Please let me know if any ways of handling it in simple ways.
    Thanks,
    Sri

    HI,
    How to read XML file:
    https://social.msdn.microsoft.com/Forums/en-US/5dd7261b-86c4-4ca8-ba87-95196ef3ba50/need-to-display-xml-file-in-textboxes-edit-the-data-and-save-the-new-xml-file?forum=csharpgeneral
    How to work with CRM:
    ClientCredentials credentials = new ClientCredentials();
    credentials.Windows.ClientCredential = new System.Net.NetworkCredential("USER", "Password", "Domain");
    Uri uri = new Uri("http://server/Organization/XRMServices/2011/Organization.svc");
    OrganizationServiceProxy proxy = new OrganizationServiceProxy(uri, null, credentials, null);
    proxy.ServiceConfiguration.CurrentServiceEndpoint.Behaviors.Add(new ProxyTypesBehavior());
    IOrganizationService service = (IOrganizationService)proxy;
    //using "service" you can create, update and retrieve entities.
    More information here about service functions:
    https://msdn.microsoft.com/en-us/library/gg328198.aspx

  • How to reinstall remote desktop and update

    Somehow I bunged up my ARD. So I followed instructions to completely remove it and I want to reinstall. Problem is, mine is an ancient copy --- version 3.0  I have updated all along using Software Update. However, I seem to be in a loop as it won't complete the install so I can update. I'm on 10.10.

    Hi Stephen Spector,
    Welcome to the Apple Support Communities!
    The attached article explains how to install and run Apple Remote Desktop in Yosemite. Please use the article as a reference for information on how to complete this process.
    Installing Apple Remote Desktop 3.3 in OS X Lion or later - Apple Support
    Cheers,
    Joe

Maybe you are looking for