About Truncation in Forms 6i

Hi all,
I am currently working on the HR schema that comes with the Oracle database. I have developed a form for each table that belongs to the schema. I have also created push buttons on each form. The push buttons are: first_record, last_record, previous_record, next_record, create_record, delete_record and Execute_Query.
There is a table by name countries and it has the following columns:
country_id char(2),
country_name varchar2(40),
region_id number
When I run the form for this table and click on execute_record I had this error message: FRM-40831:Truncation occured: value too long for field country_id.
How do I resolve this problem?
Hoping to hear from you soon.
Thanks in advance.

Hello,
I have tested my form for emp table. I have created form and then decreased teh length of ename field to 2 adn run form. I got the same error as you are getting. Then i set this to normal value, then form runs oky.
Second, error you have given occures when you are using cursor. Are you using cursor in your form. Here is description of error from documentation:
ORA-01002: fetch out of sequence
Cause: This error means that a fetch has been attempted from a cursor which is no longer valid. Note that a PL/SQL cursor loop implicitly does fetches, and thus may also cause this error. There are a number of possible causes for this error, including: 1) Fetching from a cursor after the last row has been retrieved and the ORA-1403 error returned. 2) If the cursor has been opened with the FOR UPDATE clause, fetching after a COMMIT has been issued will return the error. 3) Rebinding any placeholders in the SQL statement, then issuing a fetch before reexecuting the statement.
Action: 1) Do not issue a fetch statement after the last row has been retrieved - there are no more rows to fetch. 2) Do not issue a COMMIT inside a fetch loop for a cursor that has been opened FOR UPDATE. 3) Reexecute the statement after rebinding, then attempt to fetch again.
Are you really using any cursor in your form??

Similar Messages

  • Oracle forms viewlets about SSO and Forms dont work

    hi:
    the oracle forms viewlets (in Forms Sample Code) about SSO and Forms dont work. it says html as been modified. i think it's a viewlet builder protection.
    thanks

    user549194 wrote:
    Hi to everyone,
    This is a rant on the stupidity of Oracle Forms. From my point of view, it is pointless and VERY PAINFUL to develop.
    Come on, who in the right would use Oracle FORMS to develop database applications? Heck, I can develop my very own web application in Servlet and JSP twice as quick as this piece of crappy framework can produce. Who are you trying to kid? Tie down PL/SQL to the application level? The very idea of FORMS is bullshit.
    To whoever who is reading this, please flame me all you want. Oracle Forms is a crappy product. Dont't waste your time and efforts using it. You are better off using some other MORE PRODUCTIVE framework. So there.Hello,
    I have seen many threads speaking about forms future but discussions were also MORE PRODUCTIVE as your framework
    pointless ? I think your thread is pointless...
    I will not make the pro-forms against the world... There are so many tools, just make the right choice for your needs.
    so go back to your fantastic productive framework and have success with it.
    regards
    JeanYves

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you.
    I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express.
    As I would like to
    I use Oracle Net8 Easy Config to create a connection.
    According to "tnsnames.ora", the paramater of connection is as follows;
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA = (SID = XE))
    Unfortunately, when I use Oracle Net8 Easy Config to test the connection, an error message is prompted as follows:
    Connecting....
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    After I google it, I still have no idea how to solve the problem. I would like to ask, could anyone mind providing some hints or solution to address the issues.
    Thanks for your assistance in advance.

    I don't believe the Net8 Easy Config (NEC) will create a compatible entry in the tnsnames.ora. I have Forms 6i running successfully against a 10g Express database, but I did not use the NEC - I created the entry myself. Here is the entry I use:
    XE=
      (DESCRIPTION=
        (ADDRESS=
          (PROTOCOL=TCP)
          (HOST=<<servername or IP address>>)
          (PORT=1521)
        (CONNECT_DATA=
          (SERVER=dedicated)
          (SERVICE_NAME=XE)
      )Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Some news about styling BC forms on Adobe Muse sites?? some easy way?? pleaaase!

    some news about styling BC forms on Adobe Muse sites?? some easy way?? pleaaase!

    As Jon said, for PHP scripts to work, your server needs to support PHP.  Many Windows servers do not.
    See screenshot from Manage Sites below.  Note the root directory.  Also under More Options triangle, toggle the Passive FTP option on.
    Nancy O.

  • Questions about Adobe Interactive Forms

    Hi everybody,
    I have some questions about Adobe Interactive Forms with CRM 2007.
    I can create AIFs with the Template Designer via the WebUI. These templates appear e.g. for the account in the selection PopUp "Create from template". But these templates are not interactive at all, just the BP-information is displayed.
    Is the template-function only a static way to create a static PDF from the BP-information? Or is there a way to have the BP-information loaded to the PDF but still interactive input to communicate via a webservice?
    Thanks a lot for answers.
    Regards,
    Ben.

    My really modify is :
    CLASS: CL_CRM_WFD_ASSIGNMENT_FOLLOWUP
    METHOD: GET_ATTACHMENT
    ORIGINAL CODE:
    cl_crm_oi_ads=>call_ads(
            EXPORTING
              iv_xml_string      = lv_ws_data
              iv_xdp_string      = lv_template_data
              iv_returntype      = lv_doc_type      "cl_crm_oi_ads=>gc_doc_type_pdf
            IMPORTING
              ev_result_document = lv_pdf_xstring
    NEW CODE
    cl_crm_oi_ads=>call_ads(
            EXPORTING
              iv_xml_string      = lv_ws_data
              iv_xdp_string      = lv_template_data
    *{   INSERT         CRDK900138                                        1
    * Modify for correct Interactive Form
              iv_fillable        = 'X'
    *}   INSERT
              iv_returntype      = lv_doc_type      "cl_crm_oi_ads=>gc_doc_type_pdf
            IMPORTING
              ev_result_document = lv_pdf_xstring

  • Questions about OAS Portal Forms to upload files

    Hello,
    I have quetions, about uploading files, see I need to creat a form that will be used by other people to upload information that later will be presented as downloads in the portal...
    so I created a form in my provider with a file (binary) field, and it mimes to my table in the DB, to the field "Archivo", then what I do is use a omniportlet and using HTML format I present like a link using the info in the field Archivo
    and when I clic on it it takes me to this link
    http://desarrollo06:7778/pls/portal/38173.PDF
    but the file I uploaded does not appear
    can aniyone help me to solve this?
    thanks in advances for the suggestions and your time ^_^

    The method you used to setup upload of file seems fine. I suppose you would have used a blob type to save the file in your db table.
    basically, you can develop a report offering a link calling perhaps a procedure which would query from the table and download the file.
    In that procedure, you would look for the file (vblob) and the mime_type from that table using a sql-query. then use them to setup the mime type for the http protocol, and download the file as follows.
    owa_util.mime_header(mime_type);
    owa_util.http_header_close;
    wpg_docload.Download_File(vblob);
    hope that helps!
    AMN

  • Need to help about deploying oracle forms on AS

    well i need help in deploying my webforms on the AS THAT is on redhat linux 2 help me with some material or links that provide me how to deploye my application on it
    alos i need to know about complete help guide for the deploying of database on database server that is on linux and deploying forms on AS WHICH is also on linux

    we have an application in developer /2000 that we will be deploying on the internet using Oracle 9iAS. we also want to provide limited access to the application / information from PDA, cell phones, etc. Can I take advantage of existing code in developer/2000 that can be used with Oracle 9i wireless?

  • ? about Adobe Fillable Forms?

    this may be a stupid question because i've only had a half a day to figure out how to make a fillable form, which i did and i understand that you receive a datafile when they hit the submit button. What i want to know if there any way to set it up to actually get the form back with the info filled in without having the recipient having to save the file to their computer and re-attach it.
    thanks for any info. When i have time i'll read the book :)

    I believe you have posted to the wrong forum. The Adobe Output Designer is the form design software used with the Adobe Output Server ("Central Pro" server) software for producing hard copy output. It can make filled PDF files but it doesn't have a user "fill" feature - you have to use other software for that purpose.
    Your question is very similar to those that have been asked at the Adobe LiveCycle Designer forum over the past several months. Unfortunately, for what you want it to do it appears that the answer is that the software doesn't support that capability.
    If I'm correct and this is the wrong forum and the Live Cycle one is the correct one, then browse the posts there or repost your question there for a more definitive answer.
    One good thing about that forum (over this one) is that it is monitored by actual Adobe staff that are very helpful.

  • Questions about Personalized MAIL Forms

    Hi all!
    I got some questions regarding the Personalized Mail Forms in CRM:
    1. When you set up the subject part of the Form is it possible to "personalize it too"?
    What i mean is it possible to add attributes to the Subject for example the target's name etc. etc., just like you can do it in the mail's body?
    2. How can you add system attributes to the mail form's body in a Text: i would like to add the &SFSY-PAGE& and &SFSY-FORMPAGES& attributes specially?
    3. If i would like to insert a picture which is on my local drive, it's got inserted but doesn't wanna show, only a red cross. What is the possible problem?
    4. I got the same problem when i wanna set up a background for the form, it doesn't wanna show. What are the things that i should check about it?
    5. When i set up windows (sub or main either) on a page and i set their attributes like width or length those attributes only affect the Form Painter and don't affect the Form itself.
    In Smart Forms when you set a window, it's attributes also affect the Form itself and not just the location of the window in the Form Painter.
    What i mean is that i would like to set up different windows on a page on different locations ( like a header or a footer one ) but that only appears in the Form Painter, and it doesn't affect the page itself.
    Any solution for this?
    Thx in advance for the replies!
    Regards, BME Team
    Edited by: BME Team on Mar 9, 2008 1:03 PM

    Hi Team,
    This link can be useful for you and hope this helps.
    Please reward points if useful
    http://help.sap.com/saphelp_crm50/helpdata/en/43/18f5095a2704bae10000000a11466f/frameset.htm
    Thanks
    Srini

  • About Adobe Interactive Form license price

    Hello experts,
    We need to develop some Adobe Interactive Form with Netweaver Developer Studio .
    I know that if customer create their own Adobe  interactive forms then they need to purchase the license.
    How much the license of Adobe Interactive Form ?  We need to develop about 30 forms.
    How long does it need that contact to SAP and got the license in general ?
    Best Regards,
    Louis

    Louis,
    You will need to contact your SAP Account Executive to discuss licensing for your company.  SAP Notes 750784 and 736902 are good ones to read in advance.
    It does not take long to receive a license and you can go ahead and request Adobe Credentials to begin development.
    I hope this information helps.
    -Matt

  • Information required about ESS MSS forms

    Please let me know following points:-
    1.As per my understanding HCM Processes and Forms ( Hiring, Transfer ,Maternity leave ,Termination ) needs
    Hr administrator Role it  not present in portal box so please let me know if we need it?.
    2.It belongs to ESS/MSS Package or it is a seprate business package?.
    3.If possible kindly let me know complete Iview names for above mentioned forms.
    Please let me know about it.

    Laxmikant,
    The forms should be available with if you install the EA-HR component in ECC and there is BP for HR Admin which contains the iViews like Start Process etc.
    You can find the package :- Click to goto [SAP Portal Content Portfolio|https://www.sdn.sap.com/irj/sdn/contentportfolio] --> Business Packages for Specialists --> Business Package for HR Administrator (mySAP ERP)
    And documentation regarding it is available [http://help.sap.com/saphelp_erp2005/helpdata/en/98/32e842cd990121e10000000a155106/frameset.htm]
    Once you this, you will need Adobe License (check note : 736902) and need to configure ADS if you plan to create new forms.
    Chintan

  • About html parameter form

    Hi Guys,
    if i put the code as below in the before form value
    <html>
    <body bgcolor="#29716F">
    <form method=post action="http://localhost/reports/rwservlet?">
    <input name="hidden_run_parameters"
    type=hidden value="report=account_statement.rdf&userid=scott/tiger@ora10&desformat=pdf&destype=Cache">
    <center>
    <p><table border=0 cellspacing=0 cellpadding=0>
    <tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr>
    </table>
    <p><hr><p>
    </form>
    </body>
    </html>
    the html parameter form works file ,it can take the user parameters into report output.
    but if i put this code in after form value
    it doesn't work, can not pass user parameters into output.
    Actually, i just want to move submit and reset buttons down, let them are displayed after customized parameter form.
    anybody has idea about this? Thanks in advance.
    Appcat
    Message was edited by:
    user577805

    Hello,
    To display the buttons "Submit" and "Reset" at the bottom of the Parameter Form, just put the lines
    <input type=submit>
    <input type=reset>
    just before the tag </form>
    Example of "After Form Value" :
    <table><tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr></table>
    </center>
    </body>
    </form>
    </html>
    Regards

  • Dynamic Page truncating html form text item

    I have created a dynamic page that displays the system date on a form. When the
    page displays, the date truncates after the space or comma. ie.
    instead of displaying "Monday, December 30" it displays "Monday". If i remove
    the comma or spaces from the format, it will display ok. Is there some type of
    URL encoding I need to to.
    <FORM action="stars3.star_portal.process_student_att" method="post">
    <TABLE border="0" cellspacing=0 cellpadding=2>
    <TR BGCOLOR="#000063">
    <ORACLE>
    BEGIN
    htp.p('<TD ALIGN="CENTER"><FONT COLOR="WHITE">' );
    htp.p('<input type="text" name="T1" size="30" value=' ||
    to_char(sysdate,'Day, Month DD') || '>' || '</FONT></TD>');
    END;
    </ORACLE>
    </TR>
    </TABLE>
    </FORM>

    Hi,
    Yes, it is an encoding problem. You can make use of htp.formText to overcome this. The spaces and commas are interpreted properly with formText.
    Here is an example.
    <ORACLE>
    declare
    l_date varchar2(100);
    BEGIN
    select to_char(sysdate,'Month, Day, DD') dt
    into l_date
    from dual;
    htp.p(l_date);
    htp.p('<TD ALIGN="CENTER"><FONT COLOR="WHITE">' );
    htp.formText(cname => 'T1',
    cvalue => l_date,
    csize => 30,
    cmaxlength => 30);
    END;
    </ORACLE>
    Thanks,
    Sharmila

  • General questions about livecycle and forms

    Hello everybody,
    My company is currently researching new technologies for an infrastructural change in our B2B and CRM IT.
    We saw the possibility to use adobe forms within SAP netweaver to - for example - give a salesman the opportunity to download customer data into a pdf file before he visits customers and then edit his pdf files offline when he is with the customers. The data would then automatically be transmitted from the pdf files to the database when he is online again.
    Now we wondered if it's also possible to use this technology outside of the SAP environment and we found out about adobe livecycle.
    Now my questions:
    1) Are forms (like described above) an integrated part of livecycle?
    2) Do you have to buy the whole livecycle package or is there also a possibility to just get the forms functionality?
    3) Do you have to pay for every interactive form you create like it is done when you use it within SAP?
    4) What hardware and software do I need to make interactive forms happen?
    5) How much would licensing this technology be approximatelly. And how is it organzied? Do you pay for developer licenses, user licenses, or for every form?
    Hope you can help me to get a better idea of this topic.
    Regards,
    Peter

    1) Are forms (like described above) an integrated part of livecycle? <br /><answer> Yes<br />2) Do you have to buy the whole livecycle package or is there also a possibility to just get the forms functionality? <br /><answer> LiveCycle server is bought based on functionality and yes you can buy just the forms component<br />3) Do you have to pay for every interactive form you create like it is done when you use it within SAP? <br /><answer> No that is an SAP thing only. Once you buy forms you can build and use as many as you like.<br />4) What hardware and software do I need to make interactive forms happen? <br /><answer> You will need a server and an application server as well as a database. It does ship with a JBOss and mySQL server and depending on your usage you may find that is enough.<br />5) How much would licensing this technology be approximatelly. And how is it organzied? Do you pay for developer licenses, user licenses, or for every form? <br /><answer> You will have to contact an Adobe sales rep to get appropriate pricing. Yes it is organized into developer licenses and production licenses.

  • About opening of forms

    Hello.
    Please assist me in connection to forms opening.
    I have logged as sys admin and now I am trying to open couple of forms. I have checked everything at the back end and it seems services are up and running. Now, how can I resolve this issue.
    Please guide me the steps and also tell me what other things I need to check at the OS level.
    Any help would be immensely appreciated.
    Ali.

    Please post the details of the application release, database version and OS.
    Please assist me in connection to forms opening.
    I have logged as sys admin and now I am trying to open couple of forms. I have checked everything at the back end and it seems services are up and running. Now, how can I resolve this issue.What is the issue?
    Please guide me the steps and also tell me what other things I need to check at the OS level.
    Any help would be immensely appreciated.Please elaborate more about the issue. Do you get any error when opening the forms? If yes, what is the error?
    Is the issue with all forms?
    Can you reproduce the issue from other client?
    Can you reproduce the issue with other browsers?
    Can you find any errors in JRE/Jinitiator console window?
    Was this working before? If yes, any changes been done recently?
    Did AutoConfig complete successfully?
    Any errors in the database log file and in the application.log file?
    Thanks,
    Hussein

Maybe you are looking for