Delete button doesn't seem to use branch to return to page
664935Nov 25 2008 — edited Dec 10 2008I have set up a single update form with multiple report pages pointing to it. I did this using the basic report / form option, so the create button is on the report linking to the form along with an edit button to the form for update and delete. There is also a cancel button on the form.
After perusing the forum, I set up an item on the form to accept the passed page number of the various report pages and set the unconditional branch back to this button value. This works well for create, update and cancel. They all return nicely to the originating page.
However, the delete button has the standard javascript popup asking for verification of the delete. That pops up, the record gets deleted and I get the action processed message, but I don't get back to the originating page - instead I get an error "Error ERR-1016 Application "122" Page "0" not found (requested language="en-us") which appears to say it isn't referencing the item for the return page. I know the item has the correct value because it is not currently hidden for testing.
The branch point is on submit after processing and pointing to a page in the application with value of &P3_BRANCH_TO.
If I replace the URL for the javascript popup in the delete button with the link to the item, I don't get the delete at all. It just goes back to the originating page. So the javascript does more than just give a popup.
How can I get around this situation?
TIA
Gillian
PS - this forum is great - it has been very useful for this newbie.