CodeChargeMVP
Posts: 473
|
| Posted: 02/01/2011, 3:55 AM |
|
Hi,
Our customer wants than on a normal record form after pressing the save button which
insert the record on the dba for the first time, then the form shows the values which has been
just inserted and the form stands on edit mode,
this way they don�t have to search for the record which has just created and edit it,
they can do it automatically.
¿Any suggestion?
Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
andrewi
Posts: 162
|
| Posted: 02/01/2011, 4:06 AM |
|
You need to add code to (reliably) get the Id of the record you've just created and then redirect the page to display that record, using the Id.
There are several articles around the forum about this, but this one seems to have a worked out example code in the final post: http://forums.yessoftware.com/posts.php?post_id=88618&s...=newly+inserted
|
 |
 |
datadoit
|
| Posted: 02/01/2011, 7:12 AM |
|
Details here: http://www.codechargesupport.com/blog/index.php?action=More&post_id=2
No programming required. :)
|
|
|
 |
CodeChargeMVP
Posts: 473
|
| Posted: 02/02/2011, 2:54 AM |
|
Thank you very much, just worked great.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
|