Add several tables on a Page

Hello

I am building an application that handles (APEX 4.0) material inventory. I have an entry page that adds data to two or more tables at once. The page has two forms on it pointing to two separate tables. However when I try to run the page, it fails and returns an error:

ORA-06550: line 1, column 437: PL/SQL: ORA-00904: "ORH_LAST_UPDATE_DATE": invalid identifier ORA-06550: line 1, column 7: PL/SQL: statement ignored
Error failed to process row in the IDD_ID_DATA table.

As far as I can see in the application, this column is not in question (I don't even do anything for her and she is nullable). I looked at the application itself as well as some research online but can't find anything useful...


So my question is this: is it possible to add several tables to a page? If yes how?

I'm new to APEX so any help would be greatly appreciated!

UPDATE:

I received an email from support of APEX team:

«The answer is simple, it's you will need manually code processes query (and DML) If you want to maintain multiple tables on a page (there is a limit of a table when you use the integrated process).»
For this I suggest that you remove the process generated by the wizards and create processes of PL/SQL with insert, update, delete statements as needed. "This encoding is not difficult but takes much longer when you can use the integrated process.

I've been playing with code PL/SQL and the final result is the following:

Start
INSERT INTO table1
VALUES)
: P2_Item_Field1,.
(: P2_Item_Field2);
          
INSERT INTO table2
VALUES)
: P2_Item_Field1,.
(: P2_Item_Field2);
end;

I used this code in a PL/SQL custom in the treatment process > section to the Page processing and it seems to work fine now. The only downside to this method is that if the name of a Page element is changed the code will also have to be changed. Except that I had no problem.

Tags: Database

Similar Questions

  • Add several fields of detail Page

    Hello

    Is it possible to add several fields to the product details page? As the tag details capture but more.

    We seek to create a store to print business cards where users submit information through a number of areas.

    Thank you

    Tom

    Just saw this and have a look now

    http://forums.Adobe.com/docs/doc-1872

  • Hello Mr President! I have a few questions about the Word report generation please.1.How can I add a border to a page in word? 2. How can I add gridlines to a table generated related word?. Can 3. how I add a border to a picture of the Word report?. Thank

    Hello!

    Sir, I have a few questions about generating word reports using (C language in labwindows) please.

    1. How can I add a border to a page in word?

    2. How do I add border lines and grid to a table generated in Word report (not "cvi control table"inserted from gui, I wonder about the table generated in Word report)?

    3. How can I fill a table cell of report word with the data type other than 'character '.

    And sir a question on the use of the timer in labwindows cvi please.

    Sir, I'm trying to set a time minimum interval timer to 1millisecond (0.001 s), that I have set, timer cares about the interval set by me he only meets the minimum default time interval which is, I think as 10milliseconds (I'm using windows xp service Pack 3 version 2002).

    Concerning

    Imran

    Pakistan

    Have you read this statement ? It explains how to set the registry value:

    If the REG_SZ useDefaultTimer does not already exist, you must create it under HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\CVI Run-Time Engine\cvirte. "" This can be done navigate to the appropriate folder, and then click Edit "New" string value. Then, click on means the name of the new value created, select Rename, and then specify useDefaultTimer as the name. Finally, double click on the name and specify the value True or False.

  • SQL Help: Add flag for several tables

    Hello

    I have an existing SQL as follows:

    Select the storeId field,

    (select case when count (1) > 0 0 otherwise then 1 end)

    of tb_bbb

    where tb_bbb.id = tb_base.baseId) AS conInd

    of tb_base;

    I would now add the table tb_ccc for the value of conInd. I try the following SQL:

    Select the storeId field,

    (select case when count (1) > 0 0 otherwise then 1 end)

    Of

    (select tb_bbb.id where tb_bbb.id = tb_base.baseId)

    Union

    Select tb_ccc.id where tb_ccc.id = tb_base.basdId) AS conInd

    of tb_base;

    However, it does not work. Any idea on this SQL?  Thanks for your help!

    Hello

    Here is another way, which may be more effective because it uses EXISTS (which can quit smoking as soon as it finds a match) instead of COUNT (who continues to go, so he can tell you if there are 999 or 1000 matches, even if you don't care to).

    SELECT storeid

    CASE

    WHEN THERE IS)

    SELECT 1

    OF tb_bbb

    WHERE bbb_id = m.baseid

    ) 1 THEN

    WHEN THERE IS)

    SELECT 1

    OF tb_ccc

    WHERE ccc_id = m.baseid

    ) 1 THEN

    0 OTHERWISE

    END AS conlnd

    OF tb_base m

    ;

  • Add several lines in tabular form which object to list different shows to all rows

    Hello

    Apex 4.2, oracle 11 g 2

    I have a table on the emp table where when I click on Add button line

    then I get no lines that are stored in the string.

    for this element of the page creation PX_job that return the value of separate employment with two points separate values by the

    for example seller: Analyst: Clerk: Manager: President

    to add several lines to add lines.

    by using the dynamic action

    event: click on

    selection type: button

    Action: run javascript code

    as follows

    var a = $v("PX_job").split(":") // Delimiter is a string
    for (var i = 0; i < a.length; i++)
    {
    
    apex.widget.tabular.addRow();
    
    }
    
    

    This work that well it adds the number ranks equal to 5

    now I'm post job as select list

    now I want to display the list of work in form of tables as row 1 poster list entry, second row entry list second poster... last line shows last entry from list

    but working this column in all the rows by first writing list of projects in the work list

    How to solve this problem.

    Leave.

    Hi, go,

    Yes, you need to replace "myvalue" with the return value of the select list. But even in this case it would be a problem because it would change all the lines.

    In any case, I changed the code to do this:

    apex.widget.tabular.addRow (); Add the line

    var checkboxIndex is apex.jQuery('input[name=f01][value=0]').eq (i) .parent () .parent () .index ();. get the number of the line that was added

    var SelectItem = apex.jQuery('select[name=f04]').eq (checkboxIndex); Use this number to get the selection list

    iOption var = apex.jQuery (SelectItem) .children () .eq (i) .val (); Get the i option value

    apex.jQuery (SelectItem) .val (iOption); Set the value of the option

    I hope it's clear.

    Kind regards

    Joni

  • How to add several lines to the CreateWithParameters method

    Hello
    can someone tell me how to insert several rows in a table by using the CreateWithParameters method, which I use in a taskflow.

    That's why you get a null pointer...
    Add the iterator in this page or call the method in the second page... both should work... :)

  • Problem creating several tables in a story

    Hello

    I have a script that any text in a .txt file, then make a table out of it. Which works very well. However, at a later date I want to import text over a different .txt file and also what to do in a table. And I'll have the opportunity to do several times.

    All the tables are in the same story.

    The first table is created at the same time, the document ID is created. When I run the script to add a second table, the script detects that the document exists and that it assumes that there is already a table. The script then goes to a function that creates a second table. This works fine as well.

    However, I can't add then all the tables more without the following tables to be added to the second table, which is quite messy.

    Here's a mush down script that just focuses on the problem. I wrote it so that it will add a table of second and third in the first. What I have to do is to reduce the functions secondTable() and thirdTable() in a function. If you comment out the thirdTable() and run the script with the function secondTable(), twice, you will see the problem I have.

    To do this, simply open a new document ID, page, with structure in a single text.

    Thanks for any help,

    Tom

    myDoc var = app.activeDocument;

    monarticle var = myDoc.stories.everyItem ();

    firstTable();

    secondTable();

    secondTable();

    thirdTable();

    functions *.
    function firstTable() {}
    var lastInsertionPointIndex = myStory.insertionPoints.lastItem () .index;
    myStory.insertionPoints.item (lastInsertionPointIndex) = .silence ' Cell a \tCell two\rCell three four \tCell;
    var lastChar = myStory.characters.lastItem ();
    var firstChar = myStory.characters.item(-lastInsertionPointIndex);
    var theTextRange = myStory.texts.itemByRange (firstChar, lastChar)
    theTextRange.convertToTable("\t","\r");
    } //end firstTable

    function secondTable() {}
    var lastInsertionPointIndex = myStory.insertionPoints.lastItem () .index;
    myStory.insertionPoints.item (lastInsertionPointIndex) = .silence ' Cell a \tCell two\rCell three four \tCell;
    var lastInsertionPointIndex = myStory.insertionPoints.lastItem () .index;
    var lastChar = myStory.characters.lastItem ();
    var firstChar = myStory.characters.item(-lastInsertionPointIndex+1);
    var theTextRange = myStory.texts.itemByRange (firstChar, lastChar)
    theTextRange.convertToTable("\t","\r");
    } //end secondTable

    function thirdTable() {}
    var lastInsertionPointIndex = myStory.insertionPoints.lastItem () .index;
    myStory.insertionPoints.item (lastInsertionPointIndex) = .silence ' Cell a \tCell two\rCell three four \tCell;
    var lastInsertionPointIndex = myStory.insertionPoints.lastItem () .index;
    var lastChar = myStory.characters.lastItem ();
    var firstChar = myStory.characters.item(-lastInsertionPointIndex+2);
    var theTextRange = myStory.texts.itemByRange (firstChar, lastChar)
    theTextRange.convertToTable("\t","\r");
    } //end thirdTable

    Hi Tom,

    Please check below the code.

    var myDoc = app.activeDocument;
    
    var myStory = myDoc.stories[0];
    
    firstTable();
    
    secondTable();
    
    secondTable();
    
    thirdTable();
    
    //***functions*****
    function firstTable(){
        var lastInsertionPointIndex = myStory.insertionPoints.lastItem().index;
         var firstChar = myStory.characters.item(lastInsertionPointIndex);
         myStory.insertionPoints.item(lastInsertionPointIndex).contents = "Cell one \tCell two\rCell three \tCell four";
        var lastChar = myStory.characters.lastItem();
        var theTextRange = myStory.texts.itemByRange(firstChar, lastChar)
        theTextRange.convertToTable("\t","\r");
    }//end firstTable
    
    function secondTable(aa){
        var lastInsertionPointIndex = myStory.insertionPoints.lastItem().index;
         var firstChar = myStory.characters.item(lastInsertionPointIndex);
         myStory.insertionPoints.item(lastInsertionPointIndex).contents = "Cell one \tCell two\rCell three \tCell four";
        var lastInsertionPointIndex = myStory.insertionPoints.lastItem().index;
        var lastChar = myStory.characters.lastItem();
        var theTextRange = myStory.texts.itemByRange(firstChar, lastChar)
        theTextRange.convertToTable("\t","\r");
    }//end secondTable
    
    function thirdTable(){
        var lastInsertionPointIndex = myStory.insertionPoints.lastItem().index;
         var firstChar = myStory.characters.item(lastInsertionPointIndex);
         myStory.insertionPoints.item(lastInsertionPointIndex).contents = "Cell one \tCell two\rCell three \tCell four";
        var lastInsertionPointIndex = myStory.insertionPoints.lastItem().index;
        var lastChar = myStory.characters.lastItem();
        var theTextRange = myStory.texts.itemByRange(firstChar, lastChar)
        theTextRange.convertToTable("\t","\r");
    }//end thirdTable
    

    Hope it will work for you.

    Shonky

  • Report: channel error in several tables description

    I get several error messages when you create more of a channel table and you want to view the descriptions of channel. Is there something wrong with the allocation of the value of the description of the header line? I have attached a minimal example:

    Option Explicit  ' force explicit declaration of all variables in a script.

    Call Data.Root.Clear)
    Call DataFileLoad ("C:\Program Files (x 86) \National Instruments\DIAdem 2014\Examples\Data\Example_data.tdm")
    Call Report.NewLayout)

    Dim oMySheet, oMyTable, oMyColumn, oMyGrp, iCount, gCount

    GCount = 1 to GroupCount
    Set oMyGrp = Data.Root.ChannelGroups (gCount)
    Set oMySheet = Report.Sheets.Add ("Table" & gCount)
    Set oMyTable = oMySheet.Objects.Add (eReportObject2DTable, "Table" & gCount)
    oMyTable.Settings.Header.Title2 = "@Data.Root.ChannelGroups (CurrGroupIdx).» Channels (CurrChnNo). Properties ("& Chr (34) &"description"& Chr (34) &" ""). "Value".
    oMyTable.Settings.Header.UseAutoFontSize = TRUE
    oMyTable.Position.ByBorder.Bottom = 5
    oMyTable.Position.ByBorder.Top = 5
    oMyTable.Position.ByBorder.Left = 5
    oMyTable.Position.ByBorder.Right = 5

    ICount = 1 to oMyGrp.Channels.Count
    Set oMyColumn = oMyTable.Columns.Add (e2DTableColumnChannel)
    oMyColumn.Channel.Reference = oMyGrp.Channels (iCount). GetReference (eRefTypeIndexName)
    Next
    Next
    Call Report.Refresh)

    As you will see, everything works fine for the first table, but errors are produced for all of the following.

    / Phex


  • How the first column heading must be repeated if the table breaks across pages

    Hi Experts,

    RTF model, header row in the table automatically repeat if record go to the next page. in similar fasion, I want to repeat the first column heading, table breaks on any page.

    Please help reslove this issue...

    Hello

    You can add the tag to the first column and the first row of the table. It will repeat 1st column when table to break across pages.

    Here 1 means, repeat first column when table to break across pages.

    I hope this will solve your problem.

    P.S. If you provide 2, this means, repeat for column 2 of the table through the pages

    Please check the issue as resolved, if that answers your question. Thank you

  • How can I keep a table on one page when I am editing?

    I have created a text block and adding a table on a landscaped page. The table takes only about half of the vertical space of the text block. To half way down, I type in the cells. When I add an additional line (not an extra tier, as I said I am changing the content in the cells) cell I type in and all cells under disappear and I can see them only by adding a new page image and text and linking text blocks. I want to keep the table on 1 page and be able to modify the inner text and resize the rows and columns as needed. HOW???

    There is plenty of space for text on this page.

    I've already selected all the cells and then selected cell Options and keep up with the next row. It does not stop the table to break when I add a new line in a cell.

    The regular input on the alpha keypad, or the keypad? The latter is a column by default break, and it is perhaps the issue.

  • How to add customized to the individual pages meta descriptions?

    We are no longer able to add meta descriptions to the pages.

    The fields "SEO metadata" are no longer available:

    This has something to do with the new 'rendering engine '?

    Your job title and job description are your meta data fields. It is not something to do with the new rendering engine.

    Section of your page SEO meta should still be there, I see it on several sites, not gone anywhere.

    If you used the old popup Editor button - you don't use it for some time... It is really old and never worked right and causing the double, or even triple your data.

  • is it possible to add several portfolios in a slide show?

    I would like to add a slideshow on a page of my site. I would like to add several records with different images in this slide show. How is that possible?

    Thanks for the reply!

    Just delete all the content you find on maps, including the image. Then place a slide show on the map and fill with images.

  • Add several attribute of a tag in the xml file

    Hello

    I have a donnees_xml in the xml_test_table of the table in the format

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < CLASS > XII has < / CLASS >
    KATE < TEACHER > < / TEACHER >
    < STUDENT_STRENGTH > 30 < / STUDENT_STRENGTH >
    < 50 OFFICES > < / DESKS >
    < / ROW >
    < ROW >
    B XII < CLASS > < / CLASS >
    < STUDENT_STRENGTH > 40 < / STUDENT_STRENGTH >
    < NUMBER OF GIRLS 15 > < / NUMBER OF GIRLS >
    < NUMBER_OF_BOYS > 25 < / NUMBER_OF_BOYS >
    < / ROW >
    < / LINES >

    I need to change the xml in this format:

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < CLASS > XII has < / CLASS >
    < age TEACHER subject = "37" = "Math" > KATE < / TEACHER >
    < STUDENT_STRENGTH > 30 < / STUDENT_STRENGTH >
    < 50 OFFICES > < / DESKS >
    < / ROW >
    < ROW >
    B XII < CLASS > < / CLASS >
    < STUDENT_STRENGTH > 40 < / STUDENT_STRENGTH >
    < NUMBER OF GIRLS 15 > < / NUMBER OF GIRLS >
    < NUMBER_OF_BOYS > 25 < / NUMBER_OF_BOYS >
    < / ROW >
    < / LINES >

    You will need to add several attribute to all the 'teacher' in the XML tag.
    I am able to add a single using attribute

    Select insertChildXML (donnees_xml, 'game of LINES/LINES/TEACHER', '@age', ' 37 ") of test_xml_table;

    Thanks in advance

    In this scenario, we have a simple find and replace the XML function using which i can replace the tag with (I understand this is not good was to solve this).

    Why not use two calls separate insertChildXML?
    The premiera adds the attribute to @age, and the other adds the attribute @subject on the result of the first.

  • create the view of several tables of days

    Hello
    I'll have existing oracle db with the daily stat data, tables strangely named data_mon, data_tue, data_wed... For my batch that I intend to use the view with multiple day data, let say for the last 5 days.
    Do not know how better to implement my sql with these suffixes _mon statement to make it more or less dynamic.
    I create also ever seen from several tables, then, probably, that I can do something that will add daily updated data and remove data from 5 days?

    You will appreciate comments on the details and the whole concept. I have prev sql server experience.

    Thank you
    T

    user12943718 wrote:
    Hello
    I'll have existing oracle db with the daily stat data, tables strangely named data_mon, data_tue, data_wed... For my batch that I intend to use the view with multiple day data, let say for the last 5 days.
    Do not know how better to implement my sql with these suffixes _mon statement to make it more or less dynamic.
    I create also ever seen from several tables, then, probably, that I can do something that will add daily updated data and remove data from 5 days?

    You will appreciate comments on the details and the whole concept. I have prev sql server experience.

    Thank you
    T

    Change the data model if you have 1 table for a day.

    You have just a DATA table and a column to indicate the day of the application.

    Then you don't need a view, do not need anything dynamic, do not need to break your head against a wall for a simple query... etc.

  • How to add several presets in a reactive mode design without having to resize the screen every time

    I want to be able to add several screen size presets with the ability to view sensitive design but do not want to resize the screen and add each individually through the predefined custom function.

    Have you seen some messages on the internet (http://g-liu.com/blog/2013/08/firefox-rdm-presets/) who say it can be done, but could not find where the config is required to worm 26.0?

    Hello

    Work now how to do this. You first create an entry called "devtools.responsive.UI.presets" in the configuration file, and then add in the predefined string:

    If the steps are:

    (1) open a new tab in Firefox or window and enter about: config

    (2) (if a warning message appears, click OK.)

    (3) create a new entry devtools.responsive.UI.presets - right click and select 'new', then 'string' - under enter the preference name of the type "devtools.responsive.UI.presets" and then click OK. When the box of the input string appears simply add the following shows

    [{"key": "CGA: 320 x 200", "width": 320, "height": 200}, {"key": "QVGA: 320 x 240", "width": 320, "height": 240}, {"key": "CIF: 352 x 288", "width": 352, "height": 288}, {"key": "SIF: 384 x 288", "width": 384, "height": 288}, {"key": "HVGA: 480 x 320", "width": 480, "height": 320}, {"key": "(NTSC) VGA: 640 x 480", "width": 640, "height": 480}, {"key": "PAL: 768 x 576", "width": 768, "height": 576}, {"key": "WVGA: 800 x 480", "width": 800, "height": 480}, {"key": "SVGA: 800 x 600", "width"}] {: 800, "height": 600}, {"key": "WVGA (NTSC): 854 x 480", "width": 854, "height": 480}, {"key": "PAL: 1024 x 576", "width": 1024, "height": 576}, {"key": "WSVGA", "width": 1024, "height": 600}, {"key": "XGA: 1024 x 768", "width": 1024, "height": 768}, {"key": "1152 x 768", "width": 1152, "height": 768}, {"key": "XGA: 1152 x 864", "width": 1152, "height": 864}, {"key": "WXGA: 1280 x 600", "width": 1280, "height": 600}, {"key": "HD 720: 1280 x 720", "width": 1280, "height": 720}, {"key": "WXGA} {: 1280 x 768 ","width": 1280,"height": 768}, {"key":" WXGA: 1280 x 800 ","width": 1280,"height": 800}, {"key":" SXGA: 1280 x 1024 ","width": 1280,"height": 1024}, {"key":" 980 x 1280 ","width": 980,"height": 1280}, {"key":" Microsoft Surface RT: 320 x 240 ","width": 1366,"height": 768}, {"key":" 1400 x 900 ","width": 1400,"height": 900}, {"key":" 1400 x 960 ","width": 1400,"height": 960}, {"key":" SXGA +: 1400 x 1050 ","width": 1400,"height": 1050}, {"key":" 1400 x 1080 ","width": 1400,"height": 1080}, {"key":"1600 x 900"} {, "width": 1600, "height": 900}, {"key": "UXGA: 1600 x 1200", "width": 1600, "height": 1200}, {"key": "WSXGA +: 1680 x 1050", "width": 1680, "height": 1050}, {"key": "1920 x 900", "width": 1920, "height": 900}, {"key": "HD 1080: 1920 x 1080", "width": 1920, "height": 1080}, {"key": "WUXGA: 1920 x 1200", "width": 1920, "height": 1200}, {"key": "2K: 2048 x 1080", "width": 2048, "height": 1080}, {"key": "QXGA: 2048 x 1536", "width": 2048, "height": 1536}, {"key": "WQHD: 2560 x 1440", "width": 2560, "height": 1440}, {"key" {: "WQXGA: 2560 x 1600", "width": 2560, 'height': 1600}, {'key': "QSXGA: 2560 x 2048", "width": 2560, 'height': 2048 '}, {'key': "2160 p: 3840 x 2160", "width": 3840, 'height': 2160 '}, {'key': "4 k: 4096 x 2160", "width": 4096, 'height': 2160 '}, {'key': "4320 p: 7680 x 4320", "width": 7680, 'height': 4320 "}, {'key':" 8 k: 8192 x 4608 ","width": 8192, 'height': 4608 '}, {'key':" 8640 p: 15360 x 8340 ""} [{, "width": 15360, 'height': 8640}]

    then click OK

    All new presets should now be sensitive design mode.

    Worked for me!

Maybe you are looking for

  • Only show the first page of the chapters and expandable pages

    I just downloaded a book and its showing only the first page of a large number of chapters. When I arrived at the end of the first chapter (if it is still in the right order) he repeated the same page several times. From there, the next 4 chapters we

  • my taking is horizontal veiw

    My nephews stupid keep using my pc kaptop and filling with irt now that they made the screen go virtucle Please HELP!

  • carrier current adapters

    I am trying to connect to carrier current adapters in my house. the first will be with my new computer with windows 7 in the basement, the second being with my old computer running windows xp on the top floor of a 3-storey house. I'm trying to connec

  • Export/save Windows Live Calendar to import into the new Windows Live Calendar

    Hello I filled out my windows live calendar with events, now I don't like my e-mail name.  I created a new Windows Live ID, but can't figure out how to transfer my event calendar?  I could save & import my contacts without any problem, any advice? Th

  • I have stupidly deled my desktop, how to restore

    I hit the button remove the office while trying to remove the screen saver. How can I restore if possible Office?