Forms 9i Navigation/Input focs

Got a 9i forms module in which I cannot get input focus on any fields,either by mouse or tab key. Query Execute is about the only function which seems to work. Cannot input Query data or insert new record.
Created the form manually with Create Insert Update Delete props all set on the data block.
Also generated the form from Designer - same results - cannot get the cursor to appear ANYWHERE on the form.
Utterly confused and frustrated - am I doing something really THICK here , or merely the victim of yet another Oracle 'enhancement' ?

I haven't the faintest idea.What is Jinitiator ? Where do I find it's version nnumber ? The orig. prob. I refer to appears in a table form only. When I create a form in another format it's OK. I'm running on XP

Similar Messages

  • Convert dynamic form to dynamic input form

    Hi All,
    I am using Jdeveloper 11.1.2.4.
    As a part of a requirement, I have created a dynamic form built out of a read only view object.
    On a user event (button press), I want to convert the form into an input form to allow the user to make suitable change to data and save to the database.
    At this stage I have programmatic access to the table name which is being used to create the dynamic form.
    Please suggest on how to convert the dynamic form into input form.
    Best Regards,
    Ankit Gupta

    <cfupdate> process data from the form scope. You are
    not putting your
    role datum into the form scope. You need to scope the
    variable in your
    cfset(s).
    <cfset form.roleColumn = form.role=>
    But I am not sure this would work well. It is probably better
    if you
    write your own SQL. <cfinsert> and <cfupdate> are
    for very basic
    database operations. Once you start putting other processing
    requirements in, such as this, they quickly become
    inadequate.
    Try replacing your <cfupdate> with a <cfquery>
    tag something like this.
    <cfquery datasource="my_DSN">
    UPDATE my_table
    SET lastName = '#form.lastName#',
    firstName = '#form.firstName#',
    #form.role# = true
    WHERE key = value
    </cfquery>
    I made my best guesses at how this SQL would look based on
    the examples
    you have provided. You'll have to finish it off based on your
    actual
    requirements.
    Mikelaskowski wrote:
    > Thanks,
    > I really like your solution. It definatly sounds a lot
    easier.
    > I am still having a little trouble though. I am probably
    missing something
    > silly (especially in my cfupdate tag) as I am a little
    new at this stil.
    >
    > When I used your code in my action page I get the
    following error:
    > Error Occurred While Processing Request
    > Variable PRESIDENT is undefined. <--when president is
    selected in the role
    > field. It changes nicely when another is selected.
    >
    > Here is my current code on my action page:
    >
    >
    > Thanks Again!!!
    >
    > <CFSET lastFirst = lastName & ", " &
    firstName>
    > <CFSET roleColumn = Evaluate(role)>
    > <cfupdate datasource="my_DSN"
    tablename="my_table">
    > <html>
    > <head>
    > <title>Title</title>
    > </head>
    > <body>
    > <cfoutput>The role is #roleColumn#<br>
    > The value is #lastFirst#</cfoutput>
    > </body>
    > </html>
    >

  • Why do I get html tags with my Flash forms CGI-mailed input text?

    I'm using a Flash form to send input text to a cgi page
    (using load variable). The following text is on the CGI page.
    To: [email protected]
    From: [email]
    Errors-To: [email protected]
    Subject: [subject]
    Type of Project: [subject]
    Deadline: [details]
    Name: [realname]
    e-mail: [email]
    Phone: [phone]
    e-mails me results like this...
    Type of Project: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">by
    george</FONT></P></TEXTFORMAT>
    Deadline: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0"
    KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT
    LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans"
    SIZE="12" COLOR="#000000" LETTERSPACING="0"
    KERNING="0">it!!!</FONT></P></TEXTFORMAT>
    Name:
    e-mail: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0"
    KERNING="0">[email protected]</FONT></P></TEXTFORMAT>
    Phone: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">I&apos;ve
    got</FONT></P></TEXTFORMAT>
    anyone know how I can get it to drop all the extraneous html
    crap? - I just want the input text items.
    Also I can't figure out how to do a flash pulldown list as a
    form element... all tutorials I find on the sbject are for Flash 5
    and say to use Smartclips from the common librarirs tab - but there
    are no "smartclips" in my Flash CS3. I see other things in
    components (menu, list) - but cannot figure out how to add my items
    to the list.

    is there some way I could use an "expression" to subtract the
    unwanted text strings from the info being passed by the variables?
    If so, does anyone have an example of the context I would used to
    subtract 2 strings from that info...
    this string of html tags appears before the passed input text
    TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">
    and this appears affter it...
    </FONT></P></TEXTFORMAT>
    it's always the same.

  • What is form default navigation processing

    hi
    While i am referering the form builder reference in many paged i found, "choose the trigger by considering default form builder navigation processing ".
    Please explain me what the order of default navigation processing otherwise, trigger firing sequence will confuse me a lot. and What is form builder default processing
    thanks in advance
    prasanth a.s.

    hi
    While i am referering the form builder reference in many paged i found, "choose the trigger by considering default form builder navigation processing ".
    Please explain me what the order of default navigation processing otherwise, trigger firing sequence will confuse me a lot. and What is form builder default processing
    thanks in advance
    prasanth a.s.

  • Calling report from a form with user input parameters

    Hello,
    I am new to Oracle reports. I have an application coded in 6i. I am currently running the application in Oracle Forms Builder 9i. There are also few reports which are called from the forms. Since the application was developed in 6i, the report was called using Run_Product. The forms pass a set of user parameters to the report using the parameter list pl_id. The syntax used was Run_Product(REPORTS, 'D:\Report\sales.rdf', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
    I learnt that the Run_product doesnt work in 9i and we need to use run_report_object. I have changed the code to use run_report_object and using web.show_document () i am able to run the report from the form. There are 2 parameters that need to be passed from forms to reports. The parameters are from_date and to_date which the user will be prompted to enter on running the form. In the report, the initial values for these parametes are defined. So, the report runs fine for the initial value always. But when i try to change the user inputs for the form_date and to_date, the report output doesnt seem to take the new values, instead the old report with the initial values(defined in the report) runs again.
    Can someone give me the code to pass the user defined parameters to the report from the forms? I have defined a report object in the forms node as REPTEST and defined a parameter list pl_id and added form_date and to_date to pl_id and used the following coding:
    vrepid := FIND_REPORT_OBJECT ('REPTEST');
    vrep := RUN_REPORT_OBJECT (vrepid,pl_id);
    But this doesnt work.
    Also, Should the parameters defined in the forms and reports have the same name?

    Thanks for the quick response Denis.
    I had referred to the document link before and tried using the RUN_REPORT_OBJECT_PROC procedure and ENCODE functions as given in the doc and added the following SET_REPORT_OBJECT_PROPERTY in the RUN_REPORT_OBJECT_PROC :
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,' FROM_DATE='||:BLK_INPUT.FROM_DATE||' TO_DATE='||:BLK_INPUT.TO_DATE||' paramform=no');
    But this also dint work. Please help me understand what difference does setting paramform=no OR paramform=yes make?
    In the report, i have defined the user parameters as FROM_DATE and TO_DATE respectively so that they match the form datablock BLK_INPUT items FROM_DATE and TO_DATE.
    My WHEN_BUTTON_PRESSED trigger is as below:
    DECLARE
    report_id report_object;
    vrep VARCHAR2 (100);
    v_show_document VARCHAR2 (2000) := '/reports/rwservlet?';
    v_connect VARCHAR2 (30) := '&userid=scott/tiger@oracle';
    v_report_server VARCHAR2 (30) := 'repserver90';
    BEGIN
    report_id:= find_report_object('REPTEST');
    -- Call the generic PL/SQL procedure to run the Reports
    RUN_REPORT_OBJECT_PROC( report_id,'repserver90','PDF',CACHE,'D:\Report\sales.rdf','paramform=no','/reports/rwservlet');
    END;
    ... and the SET_REPORT_OBJECT_PROPERTY code in the RUN_REPORT_OBJECT_PROC procedure is as:
    PROCEDURE RUN_REPORT_OBJECT_PROC(
    report_id REPORT_OBJECT,
    report_server_name VARCHAR2,
    report_format VARCHAR2,
    report_destype_name NUMBER,
    report_file_name VARCHAR2,
    report_otherparam VARCHAR2,
    reports_servlet VARCHAR2) IS
    report_message VARCHAR2(100) :='';
    rep_status VARCHAR2(100) :='';
    vjob_id VARCHAR2(4000) :='';
    hidden_action VARCHAR2(2000) :='';
    v_report_other VARCHAR2(4000) :='';
    i number (5);
    c char;
    c_old char;
    c_new char;
    BEGIN
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,report_file_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,report_server_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,report_destype_name);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,report_format);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,' FROM_DATE='||:BLK_INPUT.FROM_DATE||' TO_DATE='||:BLK_INPUT.TO_DATE||' paramform=no');
    hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME);
    hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE);
    hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY (report_id,REPORT_DESFORMAT);
    hidden_action := hidden_action ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
    c_old :='@';
    FOR i IN 1..LENGTH(report_otherparam) LOOP
    c_new:= substr(report_otherparam,i,1);
    IF (c_new =' ') THEN
    c:='&';
    ELSE
    c:= c_new;
    END IF;
    -- eliminate multiple blanks
    IF (c_old =' ' and c_new = ' ') THEN
    null;
    ELSE
    v_report_other := v_report_other||c;
    END IF;
    c_old := c_new;
    END LOOP;
    hidden_action := hidden_action ||'&'|| v_report_other;
    hidden_action := reports_servlet||'?_hidden_server='||report_server_name|| encode(hidden_action);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'pfaction='||hidden_action||' '||report_otherparam);
    -- run Reports
    report_message := run_report_object(report_id);
    rep_status := report_object_status(report_message);
    IF rep_status='FINISHED' THEN
    vjob_id :=substr(report_message,length(report_server_name)+2,length(report_message));
    message('job id is'||vjob_id);pause;
    WEB.SHOW_DOCUMENT(reports_servlet||'/getjobid'||vjob_id||'?server='||report_server_name,' _blank');
    ELSE
    --handle errors
    null;
    END IF;
    In the code - " hidden_action := hidden_action ||'&'|| v_report_other; " in the RUN_REPORT_OBJECT_PROC procedure above, how do i make sure that the v_report_other variable reflects the user input parameters FROM_DATE and TO_DATE ??? v_report_other is initialised as v_report_other VARCHAR2(4000) :=''; in the procedure. Will ensuring that the v_report_other contains the user input parameters FROM_DATE and TO_DATE ensure that my report will run fine for the input parameters?
    Thanks in advance.
    Edited by: user10713842 on Apr 7, 2009 6:05 AM

  • How to create one submit form for both input an variable ports ?

    Hello,
    I would like to create an input from for a query I have.
    The problem is that this query has both input an variable ports and each one creates a different input form. I would like to join it into one form or at least have it under one "Submit" button so the user won't need to fill two forms.
    How can I achieve this?

    Hi Mario,
    Thank you for your quick reply.
    >>Even if you could, only port would be effective.
    Can you please elaborate?
    >> You need to change your query and make your input port-fields variables?
    So, if I understand correctly I should select whether I go for only inputs or only variables?
    Thanks,
    Roy

  • How to find out the current number of rows in a form without navigation

    Hi.
    Is there any way to count the rows in a form (block) without navigation to the last record?
    I am modifying CUSTOM.pll and have to count the rows before user commits changes.
    All records are new in this case. Can anyone halp me? Thanks.
    Regards
    Tomáš

    Magoo wrote:
    no, such a block-property ^unfortunately^ does not exists.
    you can just go to to the block, call the last_record build-in and find out, where the cursor is.
    But with this you call restrictred procedures and their are not everywhere allowed ...
    If you execute a query on a block, may not all records getting retrieved from database.
    For this forms does not know, how many records are really in the block and
    for this there is no build-in like get_block_property ( records_count ).It does exist indeed. GET_BLOCK_PROPERTY('BLOCK',QUERY_HITS);
    Of course, this will return the number of records that would get fetched to the block (based on the where condition), but not the records with NEW status (i.e new records which are not yet committed).
    -Arun

  • HTML form posting with input type="file"

    Hi,
    I am trying to create a servlet to accept POST requests sent from a form which has an input field of type="file".
    When I first tried I found that I was only recieving the filename of the file and not getting any contents.. I then found out that I needed enctype="multipart/form-data" in my html form tag.
    Now my servlet isn't picking up any of the form data plus the reader returned by HttpServletRequest.getReader() just throws an IOException whenever I use it..
    I have tried to google for how to get this working but I haven't found much. Any help would be appreciated.

    Thanks cool..
    I also found this after some late night googling..
    http://www.jguru.com/faq/view.jsp?EID=1045507
    I'm trying to not use one of these utility classes for now until I find out exactly how they get their data from the HttpServletRequest object..

  • Form problem - invalid input

    iv been using the same code to make input forms ever since i
    started but im having this recurring problem with one form. when
    people fill in the form when they hit send, sometimes it sends and
    other times it goes to a blank screen which says "invalid
    input!".there is a line at the top of the php code which mentions
    this and then refers to $field for which there is nothing in the
    form called this.is that the problem? why would it only work
    sometimes?
    the line of code is this:
    <?
    function checkOK($field)
    if (eregi("\r",$field) || eregi("\n",$field)){
    die("Invalid Input!");
    the code for the page can be found here:
    http://www.mathminds.co.uk/tutor_application_form.html
    thanks.

    Greetings,
    It appears that you are checking for carrige returns or newlines in the form fields.
    Then calling die(); if one or the other is found.
    Why not do some form validation to sanitize the input from your form fields correctly.
    HTH
    -Rb

  • I am new to working with pdf.  I am trying to fill out a form that was attached to a web site.  I have a Macbook Pro.  I am just learning Acrobat.  How do I get the form to accept input?

    I am new to working with pdf.  I am trying to fill out a form that was attached to a website.  I have a Macbook Pro and I am trying to learn Acrobat.  How do I get the form to accept my input?

    If there are Acrobat PDF form fields, not jus a space for a form field, then you will have to add them. It would be better to ask the provider of the form to add the fields. If you cannot add the fields, then you can use the add text feature.
    Have you looked in the "Tools" panel for the "Forms" category?
    Try Acrobat Users Community Tutorials , http://acrobatusers.com/tutorials.
    See Adobe TV - Acrobat, http://tv.adobe.com/channel/how-to/acrobat-xi-tutorials/.

  • Forms for Data Input

    Hi, my employees are using the form as a way to input data quickly, in order to do this they are using the test form link, is there a faster way to do this instead of having to use a link to the form or the test page?
    Thanks
    Jenn

    Hi Jenn,
    Can you elaborate a bit more?  Why is filling in the form from a URL not fast?  Are you looking to copy/paste data?  Import it from Excel?  If you could, describe a bit more on what your form is, and how you are using it.
    Thanks,
    Todd

  • Using a form with two input type="submit" ... buttons...

    Hello All!
    I'm using a form to add and remove parameters for a service definition.
    <form action="serviceinput.jsp" method="post">
                   <table>
                        <tr>
                             <td><b>Level</b></td>
                             <td><b>Fieldname</b></td>
                             <td><b>Stucturename</b></td>
                             <td><b>Type</b></td>
                             <td><b>Format</b></td>
                             <td><b>Optional</b></td>
                             <td><b>Semantics</b></td>
                        </tr>          
         <%
                        for (Iterator iterParameters = parameters.iterator(); iterParameters.hasNext();)
              Parameter parameter = (Parameter) iterParameters.next();
         %>
                        <tr>
              <td><%= parameter.getLevel() %></td>
              <td><%= parameter.getFieldname() %></td>
              <td><%= parameter.getStructurename() %></td>
              <td><%= parameter.getType() %></td>
              <td><%= parameter.getFormat() %></td>
              <td><%= parameter.getOptional() %></td>
              <td><%= parameter.getSemantics() %></td>
                        </tr>     
         <%
         %>
                   </table>
                   <input type="submit" name="<%= parameters.addParameter() %>" value="add"/>
                   <input type="submit" name="<%= parameters.removeParameter() %>" value="remove"/>
              </form>
    The special thing about is, that I'm using two <input type="submit"...> buttons.
    The idea is, that I'd like to add one more row with attributes by clicking the "add" button and removing one row by clicking the "remove" button.
    If I use just one of them, it works fine. If I use both of them, nothing happens at all.
    Isn't it allowed to use two <input type="submit"...> fields?
    Is there an alternative? How can I implement my form the correct way?
    Thanks a lot in advance to all!
    Regards,
    Tomi

    Hi,
    Hai Tomi ,
    As swati already Explained U can try it with buttons,
    But u have to make a Hidden field and set the value of the hidden field
    with the Javascript code after pressing the button , Call a client side function which has an argument as given below
    Validate the Flag field in the JSP file
    <script language=javascript>
    function Validate(s)
    if(s==1)
         document.forms['ServiceInput'].elements["flag"].value="add";
    else
         document.forms['ServiceInput'].elements["flag"].value="Remove";
    document.forms['ServiceInput'].submit();
    alert("hai");
    </script>
    <form name="ServiceInput" action="serviceinput.jsp" method="POst">
    <table>
    <tr>
    <td><b>Level</b></td>
    <td><b>Fieldname</b></td>
    <td><b>Stucturename</b></td>
    <td><b>Type</b></td>
    <td><b>Format</b></td>
    <td><b>Optional</b></td>
    <td><b>Semantics</b></td>
    </tr>
    <%
    for (Iterator iterParameters = parameters.iterator(); iterParameters.hasNext();)
    Parameter parameter = (Parameter) iterParameters.next();
    %>
    <tr>
    <td><%= parameter.getLevel() %></td>
    <td><%= parameter.getFieldname() %></td>
    <td><%= parameter.getStructurename() %></td>
    <td><%= parameter.getType() %></td>
    <td><%= parameter.getFormat() %></td>
    <td><%= parameter.getOptional() %></td>
    <td><%= parameter.getSemantics() %></td>
    </tr>
    <%
    %>
    </table>
    <input type=hidden name=flag value="bb">
    <input type="Button" name="b1" value="add" onclick= "Validate(1)">
    <input type="Button" name="b2" value="remove" onclick= "Validate(2)">
    </form>

  • Open the form layout in input mode if no record exists in the VO?

    Hi,
    I am using
    JDeveloper version: Studio Edition Version 10.1.3.1.0.3984
    JHeadstart version: 10.1.3.1 Release 10.1.3.1.26
    I have a group with Form Layout where Single-Row Insert allowed is true.
    What I want to do is:
    When I open this form in the browser, it will open with the existing record in the ViewObject associated with this form, if there is any record exists.
    But if there is no record exists in the ViewObject, then it will open the form in input mode (user will not need to click the 'New' button to create a record).
    I tried setting the property 'Auto Query?' to false. But in that case it opens the form in input mode all the time, it does not open with the existing record.
    Any help would be appreciated.
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    Hi,
    This is not natively supported in the 10.1.3 releases of JHeadstart. Can you please ask this question at the JDeveloper forum at JDeveloper and ADF ?
    You can use the JHeadstart templating to save your customizations of course, see the JHeadstart Dev Guide chapter on customization.
    Thanks!
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Standards or Best Practices on limits to Adobe LiveCycle forms as data input tools?

    We are trying to determine whether we should be using Adobe LiveCycle forms for our user input pages, or use a web input form (jsf) that is part of the application server. The data captured would then be rendered in multiple output forms. (printing, etc) We've proofed that it can be done, but our experience so far is that to achieve the complex business rules, validations and calculations, there is a lot of javascript code to write. Has there been any industry assessment or best practices on determining when it is best to use a web form vs Adobe Livecycle form for capturing user input? especially when there is a lot of strict validation and business rule, backend data calls, etc?   Our input requirements also differ significantly from our output requirements- where we will definitely be using LiveCycle forms.

    It sounds like you need use the adobe schema in MII so the output of your transaction matches it.
    Regards,
    Jamie

  • Adobe form barcode scanner input

    I made an Adobe form with X Pro.  The purpose of the form is to inventory equipment.  I use a barcode scanner to enter serial numbers into the form.  When I scan the barcode (Code 39) of an item the serial number entered into the form is truncated.  To ensure that the scanner was reading the barcode correctly I scanned a code while having notepad open, it input the entire serial number correctly.  I did the same thing with Word and the serial was also input correctly.  Why is the form truncating my serial number?  I can type more in the field if I so wish so I know that a character limit is not the issue.  I checked all of the text box's properties but see nothing incorrect or limiting. 
    Thanks for the help,
    Goob

    Sorry for never replying to your post.  The problem is: I do not know why this is happening.
    Your last sentence "on the Text Area the scan seems to stop before entering all digits but when I scroll back through, they are accurate" makes me think.  As I wrote earlier, "A barcode scanner is basically just an input device like a keyboard", but very much faster.  Somehow it seems that the software acts like it is encountering the carriage return before all the data digits have been processed.
    But somehow it also seems to correct itself in a text area that allows multiple lines, but not in a single-line text field.
    Yet that does not happen with my barcode scanner, but with yours and the o/p's.
    Very confusing!  Does anybody else have some thoughts on this?

Maybe you are looking for