Add row not working when creating tabular form manually

Hi friends,
I am trying to create a manual tabular form( with the help of Denes's example). When adding a new row by clicking
the add button new row is added and i can enter data in that row. This works fine when there is only one page.
Now i have 30 rows in 2 pages. Now when i tried to add a new row by pressing the add button nothing is happening.
In my add button i have given redirect to the same page and request as ADD and the report query is as below.
SELECT apex_item.checkbox (1,
                           EQUIPMENT_ID,
                           'onclick="highlight_row(this,' || ROWNUM || ')"',
                           NULL,
                           'f01_' || LPAD (ROWNUM, 4, '0')
                          )Tick,
   EQUIPMENT_ID,
          apex_item.hidden (2,EQUIPMENT_ID)
||apex_item.text (3,
                          EQUIPMENT_ROLE,
                          80,
                          100,
                          'style="width:170px"',
                          'f03_' || LPAD (ROWNUM, 4, '0')
                         )|| apex_item.hidden (4, wwv_flow_item.md5(EQUIPMENT_ID,EQUIPMENT_ROLE,EQUIPMENT_VERSION,                       
                         SNMP_PORT,RO_COMMUNITY_STRING ,RW_COMMUNITY_STRING,COMMISIONED_STATE,CUSTOMER_ID,
                         SITE_ID
                         ))EQUIPMENT_ROLE,
apex_item.text (5,
                         EQUIPMENT_VERSION,
                          80,
                          100,
                          'style="width:170px"',
                          'f05_' || LPAD (ROWNUM, 4, '0')
                         ) EQUIPMENT_VERSION,
apex_item.text (6,
                         SNMP_PORT,
                          80,
                          100,
                          'style="width:170px"',
                          'f06_' || LPAD (ROWNUM, 4, '0')
                         ) SNMP_PORT,
apex_item.text (7,
                         RO_COMMUNITY_STRING,
                          80,
                          100,
                          'style="width:170px"',
                          'f07_' || LPAD (ROWNUM, 4, '0')
                         ) RO_COMMUNITY_STRING,
apex_item.text (8,
                         RW_COMMUNITY_STRING,
                          80,
                          100,
                          'style="width:170px" ',
                          'f08_' || LPAD (ROWNUM, 4, '0')
                         ) RW_COMMUNITY_STRING,
apex_item.text (9,
                         COMMISIONED_STATE,
                          80,
                          100,
                          'style="width:170px" ',
                          'f09_' || LPAD (ROWNUM, 4, '0')
                         ) COMMISIONED_STATE,
apex_item.text (10,
                         CUSTOMER_ID,
                          80,
                          100,
                          'style="width:170px" ',
                          'f10_' || LPAD (ROWNUM, 4, '0')
                         ) CUSTOMER_ID,
apex_item.text (11,
                         SITE_ID,
                          80,
                          100,
                          'style="width:170px"',
                          'f11_' || LPAD (ROWNUM, 4, '0')
                         ) SITE_ID
      FROM EQUIPMENTS_FEAT_MVIEW
      UNION ALL
      SELECT     apex_item.checkbox
                                (1,
                                 NULL,
                                 'onclick="highlight_row(this,' || ROWNUM || ')"',
                                 NULL,
                                 'f1_' || LPAD (9900 + LEVEL, 4, '0')
                                ) delete_checkbox,
                 NULL,
                    apex_item.hidden (2, NULL)
                 ||apex_item.text (3,
                                    NULL,
                                    80,
                                    100,
                                    'style="width:170px"',
                                    'f3_' || LPAD (9900 + LEVEL, 4, '0')
                             ) || apex_item.hidden (4, NULL)EQUIPMENT_ROLE ,
                  apex_item.text (5,
                             NULL,
                             80,
                             100,
                             'style="width:170px"',
                             'f05_' || LPAD (9900 + LEVEL, 4, '0')
                             )EQUIPMENT_VERSION,
                  apex_item.text (6,
                              NULL,
                              80,
                              100,
                              'style="width:170px"',
                              'f06_' || LPAD (9900 + LEVEL, 4, '0')
                             )SNMP_PORT,
                 apex_item.text (7,
                            NULL,
                           80,
                            100,
                            'style="width:170px"',
                           'f07_' || LPAD (9900 + LEVEL, 4, '0')
                             ) RO_COMMUNITY_STRING,
                  apex_item.text (8,
                              NULL,
                              80,
                              100,
                              'style="width:170px"',
                              'f08_' || LPAD (9900 + LEVEL, 4, '0')
                             )RW_COMMUNITY_STRING,
                 apex_item.text (9,
                              NULL,
                              80,
                              100,
                              'style="width:170px"',
                              'f09_' || LPAD (9900 + LEVEL, 4, '0')
                             )COMMISIONED_STATE,
                   apex_item.text (10,
                              NULL,
                              80,
                              100,
                              'style="width:170px"',
                              'f10_' || LPAD (9900 + LEVEL, 4, '0')
                             )CUSTOMER_ID,         
                 apex_item.text (11,
                              NULL,
                              80,
                              100,
                              'style="width:170px"',
                              'f11_' || LPAD (9900 + LEVEL, 4, '0')
                             )SITE_ID
                     FROM DUAL
                    WHERE :request = 'ADD'
CONNECT BY LEVEL <= 1How can i solve this problem . Please help,
Thanks,
Jeev

Hi,
The blank row that you get from your second select statement would appear at the end of the report. Put that statement first and it should be at the top of the first page
Andy

Similar Messages

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro

    My HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro.
    In device manager showing that biometric reader is working properly. But actually the finger printer reader is not reading or senseing. It seems like "dummy" part. Please help me to correctly configure step by step for this issue.
    thankyou
    Hillet
    This question was solved.
    View Solution.

    Have you installed the Validity Sensor Fingerprint driver software for Windows 8.1?
    http://h20564.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=6943811&swItemId=ob_134806_1&swEnvOid=415...
    See page 64 in the following Windows 8.1 user manual for Validity Fingerprint setup information
    http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=6943810&docId=emr_na-c04371762&docLocale...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Save changes button not working in my tabular form

    Hello,
    I have created a tabular form with all the button like cancel,delete,save,add row and their processes by default
    when i tried to run the report, the save is not working (whenever i tried to make some changes and update the form) like it giving me an error saying that
    " Error in mru internal routine: ORA-20001: no data found in tabular form "
    I looked at the process MRU, it is OKAY.
    I tried to delete it(the MRU process) and created a new MRU process then also the SAVE button is not working, like it gives the same error.
    " Error in mru internal routine: ORA-20001: no data found in tabular form "
    Can anyone help me out with this issue...!
    what might be the problem?

    There could be two reasons for this error:
    1. in your MRU Process, you didn't type the proper primary key column name
    2. your tabular form is missing the referenced collumn
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

  • 3.1 Bug - Add row not working if Sort Nulls defautls to first.

    In some situations when you click "Add" to add a new row of a tabular form you are not provided a blank row, although you can see the row count is incremented in the lower right corner.
    This occurs if the setting of Sort Nulls first/last is allowed to default in the region attributes. By default nulls are sorted first. If your tabular form has a sort on any column and you try to add a row, the new row sorts to the top. If you have more than a screens worth of rows your blank row is not visible because APEX places focus to the last page of the result set. A work around is to go to the region's Report Attributes tab and look for "Sort Nulls" and set it to last.
    But even if you do this you may still run into problems. For example if you sort on a column that has a lot of null values, your blank row may still not appear as the last row and so may not be visible.
    I'm wondering if this is a know issue and if there are plans to correct.
    I mentioned the bug to David Peake when he was out here this week, but I didn't realize what was causing the weird behavior. Too bad I couldn't get his opinion about the cause.
    Thanks!
    Ken

    I'm seeing something that might be related to this, might not. I've setup a tabular form (Apex 3.1.0.00.9) and added a select list (Select list with submit) to help control the number or rows displayed.
    Let's say I select 30 rows to be displayed. Then I click the Add Row button. I'm getting my new empty row at the bottom of the list of records, however I'm only seeing 5 rows of data displayed above my new empty row, rather than the complete list of records (I only have 15 rows in the table right now).
    Another oddity is that the the pagination shown in the pagination select list shows "row(s) 1-15 of 16" even though the report is showing only 5 rows of data. It's almost as if some pagination value has been cached and not updating.
    Anyone got any ideas?
    Earl

  • Error when creating tabular form with wizard Apex 4.01

    Hi,
    I just created a tabular form using the page creation wizard on a table and am showing 50 rows at a time and am getting error:
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2225 parameters. Upper limit is 2000
    It doesn't matter how much data I put in --even just a couple rows updated.  I also reduced rows to 20 and still get same message.
    Anyone else seen this error?
    Pat

    Hi Jari,
    It returns about 1100 records which i think is not much.
    But even when i narrow the amount of records the problem is not solved.
    it this a bug?
    Best
    Hugo

  • ORA-20001 error when creating Tabular Form or Form and Report

    Whenever I try and add a Tabular Form or Form and Report to my application i am getting the following error at the end of the Wizard.
    ORA-20001: Unable to create updateable report. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (APEX_030200.WWV_FLOW_SHORTCUT_IDX1) violatedIt's not a problem I have seen when building other apps and clearly I have managed to corrupt this application somehow.
    I have loaded the problem onto apex.oracle.com for those that have access. The application number is 20325.
    Any help would be very much appreciated.
    Cheers Shunt

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

  • Java script is not working in custom tabular form

    hai all,
    i have changed my built in tabular form to custom tabular form.my java script is coding working fine in built in tabular form . But in my custom tabular form java script is not working ,since it is created as standard report(Display As).
    pls help me.
    with thanks and regards
    sivakumar.G

    Is the appostrophe function test(pthis) *'* present in your javascript code...
    If not can you post the same in apex.oracle.com and give the credential so that I can the why its not wroking
    Regards,
    Shijesh

  • Add row not working if more than 5 records are displayed on the screen

    Hello all,
    Does anyone know why the add row button on an sql updateable report would stop inserting a blank row for data entry when more than 5 records have been entered into the form? I can insert up to 5 records. After that, a blank row is no longer supplied by the button. Odd. Have any ideas?
    Any assistance would be greatly appreciated!!!
    Michelle

    You're welcome, Michelle!
    The "Maximum Row Count" setting determines the maximum number of rows Apex will, or could, retrieve for a report. In your original settings, this was only 15, so matched the numbers of rows on a page - therefore, you would (A) only have one page of records and (B) never see a "New Row" as that would be record number 16 (or something higher than 15), which Apex would ignore!
    One thing to note, though, is that some of the pagination schemes (the ones with a "Z" in the description) will count the full number of records available every time the report is loaded - for small tables, this is not an issue but for large tables, you may want to use one of the other schemes.
    Andy

  • Trace not working when create air app in flash cs6

    hi
    when i compile air app in flash cs6 , trace function dont workk and flash cs6 dispatch error with this title: test movie lunch failed, please help me

    yeah, that happened to me, is not a compilation error is a popup that says "test lunch movie failed". I usually happened when the machine is saturated memory, and does not work well until after restart 

  • Autofill not working when creating a photo book

    I have created several photobooks and have come across a new problem. When I click on "autofill", the first 20 pages in the book are blank. Photos only start on page 21. Right now, I just delete the empty photos, add extra pages and manually drag the photos onto the pages.
    This problem just started happening.
    Any thoughts or suggestions?
    Thank you,
    Elizabeth

    A good general step for strange issues is to renew the iPhoto preference file - quit iPhoto and go to "your user name" ==> library ==> preferences ==> com.apple.iPhoto.plist and trash it - launch iPhoto which creates a fresh new default preference file and reset any personal preferences you have changed and if you have moved the iPhoto library repoint to it. This may help
    This does not affect your photos or any database information (keywords, faces, places, ratings, etc) in any way - they are stored in the iPhoto library - the iPhoto preference file simply controls how iPhoto works - which is why renewing it is a good first step.
    LN

  • Logical Database QNQ not working when creating a query in SQVI

    Hi All,
    When i try creating a Quick Viewer Query using SQVI on Logical Database QNQ, I do not get any output.
    What am i doing wrong? 
    Regards,
    Jr.

    Hi,
    The blank row that you get from your second select statement would appear at the end of the report. Put that statement first and it should be at the top of the first page
    Andy

  • Open resetlogs is not  working when creating clone db with online backup

    Hi All,
    I am trying to create a clone database using hot backup of a database .
    STEPS THAT I FOLLOWED
    LET ----- >CURRENT_DB NAME=DEV
    CLONE DATABASE NAME=DEVCLONE
    steps PERFORMED FORM DEV DB
    - put the database in backup mode using 'alter database begin backup'
    - copy all the data files to a different folder
    - during copy i have performed some operations on the DB (creating users, tables, dmls etc...)
    - in between copying i also performed log switch
    - after completion of copy , "alter database end backup"
    - created a backup control file in a human readable format (alter database backup controlfile to trace as ........)
    steps performed for clone DB side ((DEVCLONE)
    - created a parameter file for the database .
    - modified the backup control file so that it will point to the location of copied destination of datafiles
    - set the ORACLE_SID
    - then 'sqlplus / as sysdba
    - starup nomount
    - run the modified control file ( created a control file for the clone database)
    - recover the database using "recover database using backup controlfile"
    I have provided the archive files that it was asking for (archive logs that has been generated in DEV DB)
    then i canceled the recovery by typing "cancel"
    - recover database using backup controlfile until cancel;
    then typed "cancel"
    - then try to open the database with open resetlogs but it showed below error
    alter database open resetlogs
    ERROR at line 1:
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\DATA_GUARD\DEVHOT\SYSTEM01.DBF'
    please help me on this ......
    Thanks

    Thanks , now i am able to open the DB in open reset logs mode .
    Previously , when i had not taken the archive log after "alter database end backup" , i was not able to open the db with open resetlogs because the
    fuzzy status of all the datafile headers were YES .
    But after taking the archive log that got generated after "alter database end backup" and applying it on the clone db(Created with HOT backup ) the datafile_header status got changed from YES to NO .
    So for that i am able to open the clone db with open resetlogs .
    Can you please help me with a small description why this is happening ?
    Thanks.......

  • Scroll bar does not work when creating a datalist

    So I created a very simple vertical scrollbar from 2 stretched rectangles (a thumb and a track). I also grouped a text field and a square together, that would make up the list items.
    Next, I selected the scrollbar and the list item, and created a data list from them. When I tested the project, however, I could move the scrollbar without any problems, but the items in the list did not move. I also tried adding some more items to the list, which didn't help either.
    Then i tried using the component from Flash Catalyst, instead of my "home-made" scrollbar. Making a data list out of this, and testing the project gave the desired result.
    I'd really like to use my own made scrollbar here, and I have the feeling that I missed something completely obvious on the way that I forgot.
    Note: I checked several times if I had forgotton to "edit the parts" of the scrollbar and data list, but I had selected all the parts as required.

    What you can try if the above doesn't work, is deleting the scroll bar from your Data List, and then dropping it back in from the Library. The act of re-adding the scrollbar may get you the desired behavior.
    If that doesn't work, you will probably need to post your project so we can take a look.
    -Bear

  • Hyperlinks not working when creating PDF

    When I export my Pages 08 document to a PDF file, my hyperlinks (both email and web-page) are fine. However, the font looks a bit strange (Hoefler Text). I changed my view option to 100% and it still looked small and too black. It seems to print ok, but it is a newsletter that will be posted online. I tried a couple of different fonts and it seemed to do the same thing.
    I have Adobe PDF 9.0, so I tried to use that to create the PDF via "Print." The print looked much better, but when I do that, I lose my web-page hyperlinks, but not my email hyperlinks. I can go into Adobe PDF 9.0 and put them back in, but that is a pain.
    Any suggestions? I am not very proficient in Adobe products...they are not as user friendly in my opinion....so I am hoping to find a solution in Pages.
    Thanks!

    I have no problem creating a PDF from Pages '08 & retaining active hyperlinks. I think the "issue" was fixed with an update to Leopard. I see you are using 10.5.4. Update to 10.5.8 using the combo updater, restart, then use Disk Utility to repair permissions. I think you'll find the problem fixed.

Maybe you are looking for