This content has been marked as final. Show 3 replies
I have a form which I upgraded from APEX 3.2 to 4.1 (4.1.0.00.32). On the page, there is a date range which allows the user to limit the number of items being displayed in the tabular form.If the user as at least 1 row displayed (ie. the starting date is yesterday and end is today), they can add more rows to the tabular form.
But if the range returns zero rows, they cannot add a new row. When I view the debug, I see:
0.05757 0.00057 ...Process "Add Rows" - Type: ADD_ROWS_TO_TABULAR_FORM
0.05814 0.00070 ......Skip because tabular form doesn't contain rows
Well of course it doesn't contain row. The table has rows but the current form does not.
This used to work in 3.2 - but now in 4.1 it doesn't.
Is there something on my tabular form I need to add?
BTW - the tabular form was generated by the wizard and I only modified the select script to limit the number of days being displayed.
The tabular form Add Row functionality was significantly changed in 4.0. The Add Row button now does not submit the page , rowid support has been introduced etc.
I could not locate a suitable document / resource for this. You may try searching this forum for this.
I believe it is one of changed features that is affecting you.
You have to change the AddRow button function as follows:
- remove the MRU process which is bound to the button AddRow
- remove the process AddRows
Thank you - that was the problem!!