Update process does not work on Tabular Form

Hello,
I have 2 tabular forms on one page, which are using manual update processes.
First form is created using wizard, and therefore works perfectly.
The update process is as follows:
DECLARE
  lc_string VARCHAR2(4000);
BEGIN
  FOR i IN 1..APEX_APPLICATION.G_f01.COUNT
  LOOP
     lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*03*(i) || '|' || APEX_APPLICATION.G_f*04*(i) || ']';
  END LOOP;
  --Database processing using the concatenated string here
END;Second form is created manually, using the following code:
SELECT apex_item.checkbox (30,
                           '#ROWNUM#',
                           'onclick="highlight_row(this,' || '#ROWNUM#'|| ')"',
                           NULL,
                           'f30_' || '#ROWNUM#'
                          ) delete_checkbox,
       CATALOG_ID,
          apex_item.hidden (31, CATALOG_ID)
       || apex_item.text (32,
                          LANG,
                          80,
                          100,
                          'style="width:100px"',
                          'f32_' || '#ROWNUM#'
       || apex_item.hidden (33, wwv_flow_item.md5 (LANG, DESCRIPTION)) LANG,
       apex_item.text (34,
                       DESCRIPTION,
                       80,
                       100,
                       'style="width:255px"',
                       'f34_' || '#ROWNUM#'
                      ) DESCRIPTION
  FROM V_CATALOGS
UNION ALL
SELECT     apex_item.checkbox
                          (30,
                           TO_NUMBER(9900 + LEVEL),
                           'onclick="highlight_row(this,' || '#ROWNUM#' || ')"',
                           NULL,
                           'f30_' || TO_NUMBER (9900 + LEVEL)
                          ) delete_checkbox,
           NULL,
              apex_item.hidden (31, NULL)
           || apex_item.text (32,
                              NULL,
                              80,
                              100,
                              'style="width:100px"',
                              'f32_' || TO_NUMBER (9900 + LEVEL)
           || apex_item.hidden (33, NULL) LANG,
           apex_item.text
                                           (34,
                                            NULL,
                                            80,
                                            100,
                                            'style="width:255px" '  ,
                                            'f34_'
                                            || TO_NUMBER (9900 + LEVEL)
                                           ) DESCRIPTION
      FROM DUAL
     WHERE :P18_TEMP = 'ADD_ROWS1'
CONNECT BY LEVEL <= 1However, the update process does not work on this form.
I created it using the first one as an example, but with the id's of the second form:
DECLARE
  lc_string VARCHAR2(4000);
BEGIN
  FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
  LOOP
     lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
  END LOOP;
  --Database processing using the concatenated string here
END;Also, both forms are opening in a modal pop-up dialog window.
I use a Dialog Region plug-in for that.
Please advise, what is causing a problem with update?

Sloger,
if this is your tabular form
SELECT apex_item.checkbox (30,
...and this is your update statement
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
...Then you will only ever update records that have been checked. Unchecked checkboxes are not passed back in the global array. You need to have a hidden column with the ID's for the record and loop through that when you are updating/inserting. That is why the built in tabular form has a MRU and a MRD. the MRU loops through the hidden ID column. The MRD loops through the checkbox.
Thanks,
Tyson Jouglet

Similar Messages

  • How do I uninstall the iPhoto update which does not work on maverick?

    How do I uninstall the iphoto update which does not work. ie it tells me my library is locked out and the recommended action by apple does not open the phot library first aid. ? i need to go back to the old iphoto.

    Terence, I was trying a way to message you directly - jumping on a recent thread seemed to be the only way (sorry, DEW45). 
    Terence, you seem to be the foremost expert on apeture and iphoto and have helped me many times in the past (thanks).  I have a question that you may be able to help with (anyone also feel free to take a stab).  I use blogger to upload my photos and host my blog (www.sippingespresso.com).  I spend hours organzing and editing photos - namely, I will enhance and sometimes alter an image in Apeture.  It always saves over the orginal file (at least for viewing purposes), which is fine by me.  But then when I go to upload the photos onto blogger it seems to always pull my dull, original image.  Obviously, I want the newer, bright, enhanced photo.
    I'm one step away from importing them, dragging them out of iphoto and into Photoshop, then editing the files and dragging them back into iphoto, deleting the originals and uploading from there.  There HAS to be a better way - please help!!  I've already posted far too many boring images without the beauty of Apeture's "auto enhance".
    Thanks in advance, Terence or anyone else. 

  • Repeat processing does not work properly - label printing MB90

    Hi,
    I created a custom label for 261 & 262 movement types. For this i created a custom page formats and needed settings.
    The system seems to behave strange. when i try to print from MB90 for processing mode 1. The form output is as desired.
    But when i try to repeat processing for previously processed item, it doesn't show the font size and all properly.
    I tried to debug, everything is fine, triggers right form, infact i debuged the form also its the correct one. But does'nt show output properly.
    Also for the new data whne i process and do repeat proecessing print it works...
    Why it does not work for existing data in the system? Why it is behaving strange when it picks up same form.
    Regards,
    Lalit Mohan Gupta.

    This was because... the output type configuration was changed to different printer.
    And that printer was not configured properly...
    Regards,
    Lalit Mohan Gupta.

  • Lenovo System Update 5 does not work on my B580

    Hello,
    the Lenovo System Update 5 program does not work on my B580 laptop.
    After 16% of the status bar the program says "there are no packages for your PC".
    That can't be true, because i haven't installed all drivers and programs.
    I got .NET Framework 4 on my laptop.
    What will solve the problem?
    Greetings from germany
    MAD3000

    i also have the same problem with my B480

  • Update Software does not work anymore...

    two days ago i`ve tried to download updates from software update option on Mac OS X 10.5.2 and then it tells me that: you`re not connected to the internet, try again later...
    when i come home from work, ive tried again and then the update software tells me that i have new updates but does not appear any updates and i cant select Install option too.
    anyone who knows anything about it,
    please help me
    macbook core2duo 2ghz
    2gb ram
    80hd
    mac os x 10.5.2

    two days ago i`ve tried to download updates from software update option on Mac OS X 10.5.2 and then it tells me that: you`re not connected to the internet, try again later...
    when i come home from work, ive tried again and then the update software tells me that i have new updates but does not appear any updates and i cant select Install option too.
    anyone who knows anything about it,
    please help me
    macbook core2duo 2ghz
    2gb ram
    80hd
    mac os x 10.5.2

  • Command_link does not work outside of form

    if command_link is outside of form, it is rendered without a warning notes, but does not work correctly.

    Sorry, you did not get my point again.
    Currently, I check how JSF RI helps developer to recognize his/her mistakes.
    In case of command_link outside of the form, RI says "Everything is all right. Spend the next couple minutes (couple hours or days, depends of developer qualification) to find this trick.

  • Batch processing does not work with action

    Here is the thing. I have implementes several action on Photoshop. SOme of the include several  sub actions and  different saving locations. For example, I open a file, then I hit my prefered key combo for that action, and I have:
    1) convert to cmyk
    2)save  copy as JPG with 11 quality level
    3) save to folder A
    4) image size to 72 dpi
    5) covert to RGB
    6) save as JPG 6 quality level
    7) save to folder B
    8) close file and discard cahnges.
    Everything runs like heaven, but the moment I want to batch several files everything stalls.
    I choose file > Batch > Choose my set > choose my action
    Source > I choose where my files are (usually a PDF)
    then I use "Supress file open options dialogs"
    Destination>  Since I already have set destinations y my actions, I choose here a "dump" folder
    On errors > I hit Save As... and put a name for that log.
    Then photohop opens my PDF on Photoshop and does nothing! It keeps my file open.
    I m gettting frustated here, because I ma about to work with 400 files to batch, and this batch system does not work.
    I am using CS6
    Any clues

    Your action doesn't to seem to include any Open actions. Why do you have the "Supress" option enabled?
    Also, since your action has the two save commands, you would just leave the Destination set to None. Setting a Destination means that is going to save the files again.
    The problem you'll run into though is that the action also saves the file name as part of the action, so that you'll end up just saving over the one file each time the action is played back on your 400 files. So Photoshop will process all the files, but each time it will overwrite the first file, so you'll end up with one file in each folder. Normally, in these situations, you'd use the Destination setting and use the "Overrride Action "Save As" Commands", which would substitute the Destination folder for whenever a Save command is used. The problem here is that you can only choose a single destination folder, so all files would be saved to the same location.
    Short of scripting this, it may be best to break this into two separate actions.

  • Satellite A660 BIOS update link does not work

    Hey, I got a message today (on Toshiba tempro) that the BIOS update is available.
    Unfortunately the link does not work.
    I hope someone reads this part of the administration of technical assistance.

    Hi
    For PSAW3E:
    http://support.toshiba-tro.de/tedd-files2/0/bios-20100920154827.zip
    Run it as admin.

  • InCopy CS5.5 update content does not work

    I am an editor using InCopy for editing my magazine. I only have InCopy. My art director who uses the full InDesign suite, and I work remotely. She sends InCopy files to me via Dropbox. When she makes changes to the files, my content update does not work. It is shaded grey. It worked a couple of times and then stopped. Does my art director need to do something on her end to ensure I can update content in files she sends to me?
    Thanks for any help someone can provide.

    Hi and thanks for the quick reply.
    This is the problem:
    My art director is using Indesign to create Incopy files for me to edit. We
    both are working from remote locations and are using Dropbox (remote server)
    to store our files. We have been having some problems... When my art
    director changes an image I do not see the image change/update on my end.
    How do we solve this problem?
    We are both using the latest version of the software she is using InDesign
    CS5.5 and I'm using InCopy CS5.5.
    Thanks for your help.
    Cheers,
    Mary
    Mary Scianna
    Editor, Shop Metalworking Technology Magazine
    Latest issue: http://shopmetaltech.dgtlpub.com
    Vice President, Zedcom Media Inc.
    Tel: 647 932 4477
    Cell: 647 408 6137
    Email: [email protected]
    Web: www.shopmetaltech.com
    Mary Scianna Courier Address:
    416 Whitby Shores Greenway,
    Whitby, ON L1N 9R5  Canada
    Mailing Address:
    1450 Headon Road, PO Box 93171
    Burlington, ON L7M 4A3  Canada

  • After upgrade date selection does not work in xml forms

    Hi Experts,
    since we upgrade the portal from 7.0.19 to 7.0.24 we have a problem with the timestamp in the xml forms in combination with IE7. When we click on the date selction button, the date screen appears and the form disappears. The only option we can choose is cancel and then the date selection screen disappears and the form is not comming back. Selecting a date en choose ok does not work. I tried with IE6 then it works fine. Before the upgrade it works fine with IE7.
    How to solve this?
    thanks in advance.
    Vo.

    I created a OSS message and the answer is : [Note 1491775 - XML Forms locked when closing browser window|https://websmp130.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1491775]
    gr
    Vo.

  • Invocation of Application Process does not work in 3.1?

    Hi
    I invoke APPLICATION PROCESS successfully in APEX 3.0 (for RSS, WAP, Google Site Map file generation). See http://www.mujnotes.cz/pls/htmldb/f?p=9774:::APPLICATION_PROCESS=TEST
    The same code does not work in APEX 3.1 (apex.oracle.com environment). The introductionary application page is shown instead of process result, see http://apex.oracle.com/pls/otn/f?p=9774:::APPLICATION_PROCESS=TEST.
    The processes have "No Authorisation Required" set.
    Do you have any glue what's the problem?
    Thanks
    Roman

    Scott
    it uses user authentication scheme. It works well for a common login into application.
    Authentication Function CALL:
    return user_auth
    Authentication Function DEFINITION:
    create or replace function user_auth (p_username in VARCHAR2, p_password in VARCHAR2)
                             return BOOLEAN
                             is
                             l_password varchar2(4000);
                             l_stored_password varchar2(4000);
                             l_count number;
                             begin
    dedicated application table is used to store and check user name and password
                             end;
    Roman

  • Headstart forms - down key does not work in Oracle Forms 11g

    Just moved forms from 10g to 11g.
    But when run the down key does not work. The .res file looks OK.
    I have included the hst65.jar in the search path for jar-files in formsweb.cfg.
    Anybody had this isssue?

    It was an erroneous .res-file! So problem solved. :-)

  • My process does not work, with request!

    Hi, I have a process which make some changes.
    Here is the condition:
    Request = Expression 1
    Expression 1:
    SOLVE
    I have a list. One of items send a request SOLVE.
    It doesn't work.
    When I call this process using button, it works.
    Please, help me!
    Regards, Kostya Proskudin

    Kostya,
    In your example the process does not fire in either case.
    It does not fire when the list item is clicked because, although the URL has SOLVE in the request position, the process in question is an after-submit process. Using the link, you just show the page, so after-submit events don't fire.
    In the button case, which does submit the page, the button request value is set to TEST_BUTTON, so the process does not fire because it needs a request value of SOLVE. I'm sure it works in your real application, though.
    Scott

  • Batch process does not work in one service, but worked in another.

    Hi Fellows,
    We have here a batch process with a code encrypted, that runs daily in a production environment.
    Tonight this batch process did not work.
    It is expected that this process runs in about 20 seconds, but tonight this process used about 3 hours and did not finished.
    We checked if it was concurrency, killed some sessions and tried again, and nothing has changed.
    And then someone changed the service that this process uses, it was 'bat' and changed to 'dba'. And it worked succesfully in 11 seconds.
    Here is the tnsnames that the batch process uses:
    bat =
    (DESCRIPTION =
    (LOAD_BALANCE = OFF)
    (FAILOVER=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bat)
    (FAILOVER_MODE =
    (BACKUP = dba)
    (TYPE = NONE)
    (METHOD = BASIC)
    (RETRIES = 20)
    (DELAY = 5)
    dba =
    (DESCRIPTION =
    (LOAD_BALANCE = OFF)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dba)
    Do you guys know what could be the reason?
    Thanks in advance.

    We set the service which the app should connect.
    These services are set in srvctl:
    ora.cms.bat.cms1.srv ONLINE ONLINE on fastora1
    ora.cms.bat.cms2.srv ONLINE ONLINE on fastora2
    ora.cms.bat.cms3.srv ONLINE ONLINE on fastora3
    ora.cms.bat.cs ONLINE ONLINE on fastora1
    ora.cms.cms1.inst ONLINE ONLINE on fastora1
    ora.cms.cms2.inst ONLINE ONLINE on fastora2
    ora.cms.cms3.inst ONLINE ONLINE on fastora3
    ora.cms.cmsuser.cms1.srv ONLINE ONLINE on fastora1
    ora.cms.cmsuser.cms3.srv ONLINE ONLINE on fastora3
    ora.cms.cmsuser.cs ONLINE ONLINE on fastora1
    ora.cms.db ONLINE ONLINE on fastora1
    ora.cms.dba.cms1.srv ONLINE ONLINE on fastora1
    ora.cms.dba.cms2.srv ONLINE ONLINE on fastora2
    ora.cms.dba.cms3.srv ONLINE ONLINE on fastora3
    The batch process connects to a service [ bat ], but it hangs and don't finish. But when we change the service do dba is just pass in some seconds and finish succesfully.
    Connected to DB [[email protected]  ]
    PAYware CMS Version 8.0 - Module : E352 Release : 000000002
    Program: /cms/cmsissr/CMS/bin/issuer/mepcs352
    Release: 2
    PARAMETERS OK !!!
    NUMBER OF PROC.: 000001
    Number of transactions : +000047570
    Number of parallel processes: 000001
    Transactions by process: 000000000000047570
    Transactions Processed: 000010000

  • Page level process doesn't works for tabular form.....

    I am developing an application on inventory of an chemical factory.......
    I have an master-detail form where detail table is in tabular form.......
    I have an LOCATION1 AND QUANTITY1 COLUMN in detail table..........
    I have location say...LT01A02 AND limit of each location to hold an quantity is .....say 1000.
    I wrote an process for these but it doesn't work.......
    declare
    x NUMBER(6);
    z number(6);
    begin
    selecT NVL(SUM(QUANTITY1),0) INTO x from RM_LOCATION1 where LOCATION1 = :P3_LOCATION1;
    z := x;
    if :P3_LOCATION1 LIKE'%1)' or :P3_LOCATION1 LIKE'%2)' then
    if z > 1200 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 1ST OR 2ND PALLETE ,WHICH CAN HAVE MAXIMUM 1200KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%3)' or :P3_LOCATION1 LIKE'%4)' then
    if z > 800 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 3RD OR 4TH PALLETE ,WHICH CAN HAVE MAXIMUM 800KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%5)' or :P3_LOCATION1 LIKE'%6)' then
    if z > 750 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 5TH OR 6TH PALLETE ,WHICH CAN HAVE MAXIMUM 750KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%7)' or :P3_LOCATION1 LIKE'%8)' OR :P3_LOCATION1 LIKE'%9)' or :P3_LOCATION1 LIKE'%10)' OR :P3_LOCATION1 LIKE'%11)' or :P3_LOCATION1 LIKE'%12)' then
    if z > 600 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 7TH OR 8TH OR HIGHER PALLETE ,WHICH CAN HAVE MAXIMUM 600KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    end if;
    end;
    I HAVE SEEN THAT APEX DOESN'T PICKS VALUE CALLED... _:P3_LOCATION1_*
    NOW WHAT TO DO ,CAN ANY ONE HELP ME....HOW TO RUN THESE PROCESS......

    Hi User XY,
    tabular forms do not have Page Items. The values you entered in the tabular form are stored in arrays like APEX_APPLICATION.g_f01 to g_f50.
    Here are some links you might find helpful: http://www.talkapex.com/2008/07/manually-creating-tabular-form.html
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/apex_app.htm#CHDICJDA
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

Maybe you are looking for