Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

add record form

Questions related to using nuBuilder Forte.
Post Reply
Rolf
Posts: 28
Joined: Fri May 20, 2016 9:24 am

add record form

Unread post by Rolf »

I understand that nuBuilder is built around the concept of the browse and the edit form. Thus, when you click the save button on an edit form, nuBuilder remains with the current record. Any further change and click on save will overwrite your previous change.

I'd like to have an "add record" form. After saving the record, I'd like the form to be reopened as if the clone button had been pushed or even better, display the currently entered record below the now-emptied fields (allowing one to see the previously entered record while adding a new record repetitiously).

I tried to refresh the page via

Code: Select all

header("Refresh:0");
in the after-save event of the form but that didn't seem to do the trick.

Did I somehow get the message across of what I'm trying to do?
Rolf
Posts: 28
Joined: Fri May 20, 2016 9:24 am

Re: add record form

Unread post by Rolf »

found the answer shortly after asking my question here; Use nuReturnNewRecord(); in the AfterSave event of the form.

@Chris, if you are reading this; Thank you for your AWESOME videos. But please, please, please slow dooowwwwn ;-)

Further options are discussed here.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: add record form

Unread post by admin »

.
Post Reply