How to simulate the copy row feature in Apex
Ver: 4.1.0
Hi there,
I have a application (Report and form) where users can do the standard edit, create, delete and save features.
We had to add a "Copy" row option also for which I have added a radio button against each row in the report next to the edit pencil item. And that in turn is a hyperlink which opens the "Edit" page again. Right now it opens the form in edit mode for that record, which if any changes are made, updates the record. I wanted to
1. When the user makes changes and hits the save button, a new record is created and inserted. (no worries on the duplicates etc)
2. Only 2 fields need to be passed from the original report page to the copy page.
3. Or if this is not possible, then maybe if I can capture the radio button row values and try passing that onto the form using some hidden fields maybe? But how can we capture the radio button value when it is selected?
Wondering if anyone has done this before? any suggestions on how best to implement this
Thanks,
Sun
Edited by: ryansun on Oct 16, 2012 6:29 AM