NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: seanh on January 19, 2024, 05:54:39 PM
-
I want 2 button on a form.
1 being the normal save and return to browse,
2 being a save and continue to edit the form.
Reason: I like having relational integrity on. I have a number of tabs on the form with related lists. I only want to be able to show/add to the related tables if I have saved the parent (the row on the form). Obviously this really only applies when inserting a new record.
How might one achieve this?
-
a) On Pre-Insert create the record, and switch to "Change" mode.
b) Create an Other button, which when pressed, updates the record on disk with all the current session values.
Cheers
Bruce
-
Hi Bruce,
That approach isn't working.
There are a couple of required fields, the main one being be the equivalent of an invoice customer that is required before saving. Attempting that in Preinsert gives me a relational integrity message.
I'd be happy if I could somehow chain from an insert to a change, so instead of returning to the browse immediately go to a change form.
or something like that.
-
For the 14.17 build I've added a button type "Partial Save". This saves the record, and leaves the form open in Change mode.
-
Hmm. Ok Update time.
was due for that anyway :)