HFM - inserting rows data form

Is it possible to easily insert a line when you create a data form in HFM? While I've built simple data forms, my first attempt at building a data with several separate lines form was painful because I can't understand how to insert a line in the middle of the other lines.

The only faster alternative, that I found was to change the numbers on the "Script" tab, but who also gets inefficient when I need to add a line to the top of a data line 100 form.

I would appreciate any advice on how to create forms of data more effectively.

Thank you!

M.

One might think that there is a better way, right? Nope...

I put together a quick and dirty excel file to renumber the lines / columns in the view script...

#1-open the form in the editor
#2-go into Script mode
#3-jump to the right place in the file and insert rows or columns (NOTE: when you add the row or the column give a number such as C1 or R1.) It should not be a correct number, there must be a number so that my macro excel recognizes the renumbering...)
#4-copy / paste the script into the Excel file in the data column of the Original form
#5-copy / paste the column "Becomes the Output" in the script of the web form box in HFM.

NOTE: I didn't feel bored enough to fix the substitution line and column numbers! If you add lines between a range that you override in forms, you will need to adapt them accordingly.

http://www.charlescbeyer.com/HFM_Form_Renumbering_Tool.xls

Published by: beyerch2 on March 1st, 2013 14:52

Tags: Business Intelligence

Similar Questions

  • Insert automatic Date form field

    This seems to be a simple task, I can't believe that I post here for help!

    I would want my form to automatically insert the current to the date of the opening, but can not find a way to get there.  Only date settings, I can find are only to format the date as soon as the user enters the values.  Can someone help me?

    I use Adobe Acrobat Pro v 9.4.7 on a Windows XP sp3 operating system

    Thank you!

    Susan

    Oops! I made a small typo. The correct code is:

    getField("your_date_field").value = util.printd ("mm/dd/yyyy", new Date());

  • Rename a data form in HFM 11.1.2.3

    Is it possible to rename a data form in HFM 11.1.2.3. I aimed the HFM 11.1.2.3 Administrator's guide but could not find a way to rename the data form. Help, please.

    Thank you for the solution.

    Hello

    In order to change the name of an existing one, you need to:

    • Save the existing one with a different name
    • Remove the previous and start using the new

    See you soon,.

    Thanos

  • Insertion of data in a form to a MS access database

    I'm new to coldfusion and have encountered a problem when you try to insert an HTML form data in a MS Access database.

    The problem is the primary key. When I remove the primary key of the database, it works fine, but I need to have a.

    I don't know how to add the primary key as an AutoNumber.

    I use Dreamweaver MX 2004 with a test configuration of CF MX7 and IIS 5.1 on Windows XP Pro

    Code is below. The first page is the form, and the second is the page that deals with the form and adds it to the database




    Follow-up to the comments of Phil suggests you don't need to know the primary key value, before you do your insert. Change this:
    INSERT INTO signup
    VALUES (' #Form.username # ', ' #Form.Age # ',)
    ("#Form.Location #", "#Form.email #", #Form.ID #)

    for this, (but with your real domain names)
    INSERT INTO signup
    (user name, age, location, messaging)
    VALUES (' #Form.username # ', ' #Form.Age # ',)
    ("#Form.Location #", "#Form.email #")

  • Add Member error data form

    Hello gurus,

    I am running into an error with the data forms saying "an unknown error has occurred in the HsvWebFormGeneratorACM object. The error occurs when I open the form data in excel and then try to add a member to a billing on R15 (please see text below). The "Add Member" feature works fine when I shoot to the top of the form of data in the browser.

    So Far, based on the OTN forums and the idea of Oracle knowledge base, I have 1) removed all replacements on the blank lines and SCalc and 2) removed all deletion on the data form options.

    This page was built in HFM 11.1.2.0 and we just migrated to HFM 11.1.2.2.304 during an upgrade. I'm pulling into excel using Smart View 11.1.2.2.300 (soon to update 11.1.2.2.310).

    I'd appreciate it really all comments or advice from someone who has faced this problem before or can find out what is causing the problem.

    Thank you!

    M.

    Data form script

    ReportDescription =
    ReportType = WebForm
    ReportLabel = SGA_Plan
    ReportSecurityClass = [default]

    BackgroundPOV = Y #2012.W #Periodic.V # < entity motto >. A PLAN_SGA_BILLING #. I have #[ICP no]. C2 #[no]. C3 #[no]. C4 #[no]
    SelectablePOVList = E {HAND. [Hierarchy]}. I have {[Base]}. C1 {TTL_CC. [hierarchy]}

    C1=Y#@cur. S #ForecastSep.P {[Third generation]}
    C2 = Blank
    C3=Y#@Cur(+1). S #plan. P {[Third generation]}

    R1 = Blank, CustomHeaderStyle: make: Bold; color: dark blue, CustomHeader:Base Expenses, Style: background: rgb (20,5,109);
    R2 = a. {TRAVEL_COST [Basic]}
    R3 = a TRAVEL_COST #, CustomHeaderStyle:Background: light; Police: "BOLD", Style: Background: clear; Font: bold
    R4 = A {RENT. [Base]}
    R5 = a #RENT, CustomHeaderStyle:Background: light; Police: "BOLD", Style: Background: clear; Font: bold
    R6 = A {OTHER_COSTS. [Base]}
    R7 = an OTHER_COSTS #, CustomHeaderStyle:Background: light; Police: "BOLD", Style: Background: clear; Font: bold
    R8 = A {DEPRECIATION. [Base]}
    R9 = a #DEPRECIATION, CustomHeaderStyle:Background: light; Police: "BOLD", Style: Background: clear; Font: bold
    R10 = SCalc (row (2) + row (4) + row (6) + row (8)), CustomHeader:Check Sum, Style: Background-color: darkgreen; color: white; make-weight: bold
    R12 = Blank
    R13 = Blank, CustomHeaderStyle: make: Bold; color: dark blue, CustomHeader:Variable Compensation, Style: background: rgb (20,5,109);
    R14 = Blank
    R15 = A #PLAN_SGA_BILLING. I have 10000 #, AddMember: I {[Base]}
    R16 = Blank

    FormRowHeight = 16 px
    FormInputBoxLength = 20
    FormRowHeaderPercentage = 30
    FormCellTextInputBoxLength = 20

    PrintNumRowsPerPage = 20
    PrintNumDataColsPerPage = 6
    PrintRepeatHeadersOnAllPages = True

    CalcByRow = True
    LineItemDetailSinglePeriod = True

    ShowLabels = True

    SuppressRowHeaderRepeats = False
    SuppressColHeaderRepeats = False
    SuppressInvalidRows = false
    SuppressNoDataRows = false

    The only way I could get the functionality of adding members to work was to create a line of false 'Add Member' in the first line of data. I pulled an account of higher level for attribute the PEAK Add Member to him, but put in a substitute so no data would be thrown. Even if I put in a blank line before this fake Add Member line, the rest of the legitimate add feature Member did not work well. My new script is as follows:

    ReportDescription =
    ReportType = WebForm
    ReportLabel = SGA_Plan
    ReportSecurityClass = [default]

    BackgroundPOV = Y #2012.W #Periodic.V #. A PLAN_SGA_BILLING #. I have #[ICP no]. C4 #[no]
    SelectablePOVList = E {HAND. [Hierarchy]}. I have {[Base]}. C1C1=Y#@Cur.S#ForecastSep.P{[Third generation of {TTL_CC. [hierarchy]}]}
    C2 = Blank

    C3=Y#@Cur(+1). S #plan. P {[Third generation]}

    R1 = A #SGAEXP. I have #[ICP no], substitute (1.1, was #[no].) I have #[ICP no]. V #. # C1 [no]. C2 #[no]. C3 # [no]), CustomHeaderStyle: make: Bold; color: dark blue, fresh CustomHeader:Base, Style: background: rgb (20,5,109); NoSuppress, AddMember: I have {[Base]}

    R2 = a. {TRAVEL_COST [Basic]}

    R3 = a TRAVEL_COST #, CustomHeaderStyle:Background: light; Police: "BOLD", Style: Background: clear; Font: bold

    .

    .

    Last update 18/10/2013: this question disappeared once we applied the PSU 305 to our 11.1.2.2 environment.

  • Hi, is it possible to change the security class for folders that contain data forms?

    Hello

    We would like to change the class of security for a folder that contains the data forms in our application.

    This should be done on two occasions during our monthly closing.

    When I create a new folder I can assign the class of security to the folder. But how it works for an existing folder?

    Thank you very much

    Björn

    HFM 11.1.2.1

    Hello

    To answer your question, there is no way to change the safety classes existing folder with the existing versions of HFM. We have already asked DEV as an improvement. The only solution is to remove the existing form folder and then re-create.

    Kind regards

    Madhu.

  • How to insert CLOB data in tha table in my database

    I create a table called (annual NUMBER, name VARCHAR and CLOB doc) html page

    IsqlPlus I have run the following procedure


    P4_FIRE_HTML_TRIGGER_ARG EXEC ("OLBA + LEGAL + PSOA + OEJN", file);  file: came the CLOB parameter

    the result parameter is set to the queue:
    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 / / IN" "http://..." >
    < HTML >
    < HEAD >
    < TITLE > ADDS - METARS results form < / TITLE >
    "< LINK REL ="StyleSheet"type =" text/css"HREF="/layout/awc/mystyle.css ">
    < / HEAD >
    < BODY BGCOLOR = "#FFFFFF" >
    < TABLE SUMMARY = "this table is used for formatting only" BORDER = 0 CELLPADDING = 3 CELLSPACING = 0 >
    < TR VALIGN = "top" >
    < TD ALIGN = "left" COLSPAN = "2" >
    < H2 > Aviation digital data Service (ADDS) < / H2 >
    Produced by form of METAR (1858 & #160;) 11 February 2014 UTC) < BR >
    " located at < A HREF =" http://AV .............................
    < Table >
    < /TR >
    < TR VALIGN = "top" >
    < TD ALIGN = "left" COLSPAN = "2" >
    < FONT FACE = "Monospace, Courier" > OLBA 111800Z 01006KT 7000 FEW026 16/11 Q1022 < / POLICE > < BR >
    < FONT FACE = "Monospace, Courier" > LEGAL 111830Z 34005KT 8000 NSC 13/11 Q1021 NOSIG < / POLICE > < BR >
    < FONT FACE = "Monospace, Courier" > PSOA 111830Z 21009KT 9999 - RA BKN016 06/03 Q1003 NOSIG < / POLICE > < BR >
    < FONT FACE = "Monospace, Courier" > OEJN 111800Z 34004KT CAVOK 25/20 Q1012 NOSIG < / POLICE > < BR >
    < Table >
    < /TR >
    < /table >
    < / BODY >
    < / HTML >

    I try inserting the above result in my HtmlPage of the table by a simple insert:
    Values inserted INTO HTMLPAGE (annual, doc)
    (5, 'meatr_taf', ' <!) DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 / / IN" "http://... "
    ... < / HTML > ') values are not inserted just I got a message:
    SP2-0863: iSQL * more treatment

    Can someone help me to insert CLOB data in my table HtmlPage above
    Thank you

    software:

    Form [32 bit] Version 9.0.2.9.0 (Production), oracle JInitiator: Version

    1.3.1.9, WebUtil Version 1.0.2 (Beta), window xp service pack 2 build 2600, Internet Explorer 8

    LOOP
    UTL_HTTP. READ_LINE (RESP, File_Metar, TRUE);
    p2_putlines (File_Metar);
    USING_CLOB. ADD_MORE (1, File_Metar);
    USING_CLOB. LOB_INS (1, 'Metar_taf', File_Metar);
    END LOOP;
    UTL_HTTP. END_RESPONSE (resp);

    You should not use USING_CLOB. LOB_INS (1, 'Metar_taf', File_Metar) inside the Loop.You must use

    LOOP

    UTL_HTTP. READ_LINE (RESP, File_Metar, TRUE);

    p2_putlines (File_Metar);

    USING_CLOB. ADD_MORE (1, File_Metar);

    END LOOP;

  • Need help to insert rows in the table to a custom table area

    Hi all

    I have a requirement as below.

    I have a page of the i invoke a popup search page and displaying the table data in the area of the table, this table I select lines and pressing the button and given in the basic page in the region of the table being filled, of data, I need to insert these lines into a custom table. Please help me how to achieve this. Basically, I need to insert rows from one table to a custom table region.

    Thnaks

    Hello

    Review the link, below, may be it will help you:

    https://forums.Oracle.com/thread/953885

    https://forums.Oracle.com/thread/2151775

    Please share your solution here, it will help others.

    Concerning

    Mahesh

  • Error inserting rows in ADF object view by programming

    Hi try to insert rows from one different view to the other, following this example http://howtolearnadf.blogspot.com/2012/10/insert-rows-in-to-adf-view-object.html some how am not able to read my reviews I got the error in this ViewObject targetVO line = obj.getViewObject (); When I click on my button Add. I am jedeveloper 11.1.1.6.0 I created the public class UpdAppModuleImpl in my module of the application, I can see the view
    my log error is
    Caused by: java.lang.NullPointerException
         at OrgDetails.updAddMember(OrgDetails.java:1491)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 more
    this is my code
        public void updAddMember(ActionEvent actionEvent) {
            // Add event code here...
            //Code to get the bindings for TargetVO :
               
                    DCBindingContainer bindings2 =
                       (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
                        
                   JUCtrlHierBinding obj = (JUCtrlHierBinding)bindings2.findCtrlBinding("UpdAddedMember1");
                   ViewObject targetVO = obj.getViewObject();
    
    
              DCBindingContainer bindings =
                       (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding empIter =
                       bindings.findIteratorBinding("UpdAddedMember1Iterator");
    
            //SourceVO1Iterator is the iterator under Executables section for the SourceVO1 bindings.
    
                   RowSetIterator roleRSIters = empIter.getRowSetIterator();
                   RowSetIterator rs1 = roleRSIters.getRowSet().getViewObject().createRowSetIterator(null);
                   NameValuePairs nvp = null;
    
                   while (rs1.hasNext()) {
                       Key key = rs1.next().getKey();
                       Row r = rs1.getRow(key);           
                      
                       nvp = new NameValuePairs();
                       nvp.setAttribute("Username",r.getAttribute("Username"));
                       nvp.setAttribute("Firstname",r.getAttribute("Firstname"));
                       nvp.setAttribute("Surname",r.getAttribute("Surname"));
                       nvp.setAttribute("Emailaddress",r.getAttribute("Emailaddress"));
                       targetVO.createAndInitRow(nvp);
                    }
                  
                   rs1.closeRowSetIterator();
                   targetVO.getApplicationModule().getTransaction().commit();
        }
    }
    Published by: adf009 on 02/08/2013 11:17

    Edited by: adf009 2013-02-08 11:22

    adf009, a simple NPE?
    You know how to use a debugger?
    You already know that

                   JUCtrlHierBinding obj = (JUCtrlHierBinding)bindings2.findCtrlBinding("UpdAddedMember1");
    

    Returns a null value. What is the information you get from that?
    He told me that you misspelled the name of link 'UpdAddedMember1' or it does not exist in the page links.

    Then, you use "links" and "bindings2", which are equal. Meanaing you only need one of them.

    What is this code before:

    while (rs1.hasNext()) {
                       Key key = rs1.next().getKey();
                       Row r = rs1.getRow(key);
    ...
                      
    

    you are iterating over a set of rows with the rs1.next () and then jump to the already selected line by setting the line with row.getRow (key);

    while (rs1.hasNext()) {
                       Row r = rs1.next();
                      
    

    should do.

    Timo

  • Insert XML data from the Table-&gt; back to null

    Dear Experts,

    -I have table xml as below:

    Example of CREATE TABLE (XML_spec XMLTYPE);

    Insert in the example
    Select ' < name of Message = "dataStaticInvestor" type = "IncomingMessage" >
    < name of field = "batchReference" > OPENINGBATCH000000 < / field > < List name = "data" >
    < = record name "data" >
    < name of field = "externalReference" > 01234567890aaaaaaa < / field >
    < name of field = "participantID" > OD001 < / field >
    < name of field = "participantName" > EQUITY SECURITIES INDONESIA, PT < / field >
    < / recording >
    < = record name "data" >
    < name of field = "externalReference" > 01234567890aaaaaaa < / field >
    < name of field = "participantID" > OD001 < / field >
    < name of field = "participantName" > EQUITY SECURITIES INDONESIA, PT < / field >
    < / recording >
    < = record name "data" >
    < name of field = "externalReference" > 01234567890aaaaaaa < / field >
    < name of field = "participantID" > OD001 < / field >
    < name of field = "participantName" > EQUITY SECURITIES INDONESIA, PT < / field >
    < / recording >
    < / list >
    < / message > ' double.

    Select * example;

    create table hasil1 (c1 varchar2 (500), c2 varchar2 (500), c3 varchar2 (500));

    -This step I create the procedure to insert xml data into the table as the batch.

    DECLARE
    x XmlType;
    BEGIN
    Select XML_SPEC in x for example;

    insert into hasil1
    SELECT
    p.Extract('/Record/Field/@externalReference').getstringval (C1),
    p.Extract('/Record/Field/@participantID').getstringval (C2),
    p.Extract('/Record/Field/@participantName').getstringval () as c3
    TABLE (XMLSequence (Extract(x,'Message/List/Record'))) p;
    commit;
    END;
    /

    -when the result of select hasil1, the output is back 3 rows and 3 columns, but all data is a null *.

    Best regards
    Sigcle

    You don't explain what output you need, but I guess something like this:

    SQL> insert into hasil1 (c1, c2, c3)
      2  select x.c1, x.c2, x.c3
      3  from example t
      4     , xmltable(
      5         'Message/List/Record'
      6         passing t.xml_spec
      7         columns c1 varchar2(500) path 'Field[@name="externalReference"]'
      8               , c2 varchar2(500) path 'Field[@name="participantID"]'
      9               , c3 varchar2(500) path 'Field[@name="participantName"]'
     10       ) x
     11  ;
    
    3 rows inserted
    
    SQL> select * from hasil1;
    
    C1                     C2        C3
    ---------------------- --------- --------------------------------
    01234567890aaaaaaa     OD001     EQUITY SECURITIES INDONESIA,PT
    01234567890aaaaaaa     OD001     EQUITY SECURITIES INDONESIA,PT
    01234567890aaaaaaa     OD001     EQUITY SECURITIES INDONESIA,PT
     
    
  • Error when inserting XML Date in the Table

    Hi all

    I am working on Oracle 11 g and trying to insert a date XML in the table but get error - below

    Query - insert into TableName (ID, CREATION, CREATEDBY) VALUES (50, *'2010 - 12-15 T 12: 57:19'*, 'Name')

    Error - java.sql.SQLDataException: ORA-01861: literal does not match the format string

    CREATED column datatype is Date

    When I try to use sysdate instead of hard-coding XML date of obtaining inserted successfully into the table. Please let me know how to pass this XML format date.

    Thanks in advance.

    Concerning
    Nikhil

    I don't see any XML in what you posted. In any case:

    "2010 12-15 T 12: 57:19'.

    is a string, not a date. Use:

    to_date('2010-12-15T12:57:19','YYYY-mm-dd"T"HH24:mi:SS')

    For example:

    SQL> create table tbl(created date);
    
    Table created.
    
    SQL> insert into tbl values('2010-12-15T12:57:19');
    insert into tbl values('2010-12-15T12:57:19')
                           *
    ERROR at line 1:
    ORA-01861: literal does not match format string
    
    SQL> insert into tbl values(to_date('2010-12-15T12:57:19','YYYY-MM-DD"T"HH24:MI:SS'))
      2  /
    
    1 row created.
    
    SQL> 
    

    SY.

  • Inserting rows through the procedure of database

    Hello!
    I have a small dilemma. I have to insert rows in the database through pl/sql procedure table. I can't use entity objects, because the insertion is very specific, so it must be done through the procedure of database.
    What is the workflow for my case? Use view object with transient attributes the right way? I have to show form insertion (with entries for the database parameters), and then call my procedure to fill the db table. Where can I find more information on that? Everyone had similar cases? Any info?
    Best regards, Marko

    [Url http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/bcadveo.htm#sm0328] does help?

    John

  • Data forms cell shaded

    Hello

    I just want to know why the cells of certain combinations in hyperion planning data forms are grayed out.
    And also, what does do to remove these cells greyed combinations like form designer.

    Thank you
    Mads

    Hello
    It is not only a reason for this. Possible reasons could be:
    1. Security: If some user does not have write access to a member that is used in the form, the cells that are related to this member are displayed read-only.
    2 dynamic Calc: If some Member is calculated dynamically, you cannot integrate data as they are greyed out.
    3. high level: If the version you have selected is an ascendant of the version, you can enter data to members at the higher levels of dimensions, you are limited to the data entry for low level members. To enable entry to the upper levels, you must use the version of top-down (target).
    4. explicit read-only: columns and rows can be made read only explicitly in the form template, and the result is that some rows and columns read-only.

    See you soon,.
    Alp

  • Insert rows checked in the table

    Hi all
    How to insert rows checked in another table. I've created an interactive report with the query as follows
    Select apex_item.checkbox(1,id,'unchecked') ", Column1, Column2 from table. Now when I check the boxes to check off and hit the Insert button it should get stored in another table in DB (table1).

    Process:
    DECLARE
    IDX number;
    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. COUNTY
    LOOP
    IDX: = apex_application. G_F01 (i);
    Insert into step3_table (ID, TASK_NAME, TASK_DESCRIPTION, CATEGORY, TASK_INFO, TASK_STATUS, TO_WORKGROUP, IMPACT, FILE)
    values (apex_application. G_F02 (idx), apex_application. G_F03 (idx), apex_application. G_F04 (idx), apex_application. G_F05 (idx), apex_application. G_F06 (idx), apex_application. G_F07 (idx), apex_application. G_F08 (idx), apex_application. G_F09 (idx), apex_application. G_F10 (idx));
    END LOOP;
    END;

    Thanks for the help!

    Hello

    You don't have a F02 - F04 berries in your query.
    Even you, your insert statement do not have enough source columns.
    Also I do not know you could get all the data tables in this way... table F01 value maybe not array index value.

    Try

    BEGIN
      FOR i in 1..APEX_APPLICATION.G_F01.COUNT
      LOOP
    
        INSERT INTO step3_table (ID,TASK_NAME,TASK_DESCRIPTION,CATEGORY,TASK_INFO,TASK_STATUS,TO_WORKGROUP,IMPACT,FOLDER)
        SELECT id,column2,column2,column3,column4,column5,column6,column7,column8
        FROM table
        WHERE id = apex_application.G_F01(i)
        ;
    
      END LOOP;
    END;
    

    Kind regards
    Jari

  • insertion error - date format picture ends before the conversion while

    My system: I use of Oracle Database 10 g Express Edition Release 10.2.0.1.0 - product with SQL * more: Release 10.2.0.1.0 and the first thing I've done in this project is a user account configuration especially for her through Application Express 2.1.0.00.39 with all permissions and then connected with SQL * more and seized command and run scripts on it since.

    I got the following error was in a previous project, but I don't have the result of it so I don't know how much he touched me. We can not always distribute perfect projects so I could live with that. It is that this new project is the first that start from a previous one have of course, I still have the error so I think they'll be less forgiving of mistakes that I had more time to work on it. However, after hours of research & debugging tests I still cannot do things.

    I read on sites in development more than a couple that we should not rely simply on inputs of channel inserts on dates where there is incompatibilities with nls_date_format and based instead on TO_DATE. This seems logical and I have no problem of implementation, but there is a problem running it. :|

    The following is an excerpt from my project bringing the error that I need to move.
    Thank you so much for your help
    DynV

    H2.
    code

    ALTER SESSION SET nls_date_format = "DD/MM/YYYY";
    DROP TABLE EMP;

    CREATE TABLE EMP
    (
    NOEMP INTEGER NOT NULL PRIMARY KEY,
    NAME VARCHAR (15) NOT NULL,
    FIRST NAME VARCHAR (15) NOT NULL,
    NOFONCTION INTEGER NOT NULL,
    DATEEMBAUCHE DATE,
    SALARY INTEGER NOT NULL,
    NODEPT INTEGER NOT NULL-,
    -FUNCTION REFERENCES FOREIGN KEY (NOFONCTION),
    -FOREIGN KEY (NODEPT) REFERENCES DEPT
    );

    -NoEmp, name, NoFonction, DateEmbauche, NoDept, salary
    INSERT INTO VALUES EMP (1230, "DAHER", "ERIC", 1, TO_DATE (DECEMBER 17, 1997 ',' DD/MM/YYYY ""), 40, 20000);
    INSERT INTO VALUES EMP (3235, "LEMAY", "PATRICK", 3, TO_DATE (FEBRUARY 20, 1982 ',' DD/MM/YYYY '), 20, 3500);

    H2.
    result

    Modified session.

    Table created.

    INSERT INTO VALUES EMP (1230, "DAHER", "ERIC", 1, TO_DATE (DECEMBER 17, 1997 ',' DD/MM/A))
    YY'), 40, 20000)
    *
    ERROR on line 1:
    ORA-01830: date format picture ends before converting all of the input string

    INSERT INTO VALUES EMP (3235, "LEMAY", "PATRICK", 3, TO_DATE (FEBRUARY 20, 1982 ',' DD/M))
    M/YYY'), 20, 3500)
    *
    ERROR on line 1:
    ORA-01830: date format picture ends before converting all of the input string

    H1.
    solution

    The Xgc of channel for the IRC server freenode user [#sql | irc://freenode/%23sql] had me I was using 3 characters for my picture/mask/filter /... instead of the 4 that taking data. then they became "JJ/M".
    M/YYYY "."

    How small error but with such devastating consequences.

    Published by: user13420426 on December 6, 2010 01:39

    You're 1 shy O.

    TUBBY_TUBBZ?select TO_DATE('17/12/1997', 'DD/MM/YYY') from dual;
    select TO_DATE('17/12/1997', 'DD/MM/YYY') from dual
                   *
    ERROR at line 1:
    ORA-01830: date format picture ends before converting entire input string
    
    TUBBY_TUBBZ?select TO_DATE('17/12/1997', 'DD/MM/YYYY') from dual;
    
    TO_DATE('17/12/1997'
    --------------------
    17-DEC-1997 12 00:00
    
    1 row selected.
    
    TUBBY_TUBBZ?
    

    Notice how I YYYY where you YYY.

Maybe you are looking for

  • Download speed of Safari 9.1

    Hello Whenever I download something, I see the time but not the download speed. Is this a bug or did apple remove this feature? Thank you!

  • Can I install windows 7 on the superdive replacement hard drive

    Hello people, Recently I replaced the drive of my macbook pro 13 inch mid-2012 with an adapter (caddy tray) to put in a second hard drive (500 GB todhiba). Now I am trying to install windows 7 with bootcamp (on an os x 10.9.5, bootcamp 5.1.2), but wh

  • Yoga 2 pro pilot "digital media devices.

    Hi allI have a motto that is unknown. It seems to be the "digital media devices. How can I solve the problem? Link to photo Note of the moderator; image (s) converted into programming on display images in Forums

  • image failure

    Tried to make a system image. win8.1, i7 cpu, SDD drive c: 250g, hd e:923 g running. Tried to do the backup: part efi, c: & win re tools. On a key USB 500 g. NTFS format. Starts to run and then, after a few minutes, get: Save the game efi & then Prep

  • How the size of the police many elements listbox batch-change both names?

    Hello specialists for LabviewI use several drop-down lists on a façade and fill them using the node of the element names property.I like my objects to front to fit the current screen resolution I check the "maintain proportions...". «and "scale all o