NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on June 05, 2016, 10:08:08 AM
-
Hi Guys,
When I change a NetWebForm to "Open as Popup", the form automatically creates the new record, even if the user cancels the "insert" form.
Changing it back (Not to Open as Popup) fixes the problem, so that the user has to click "Save" for the new record to be created.
Is the Popup-form supposed to create the new record upon insert?
-
Hi Rupert,
>> Is the Popup-form supposed to create the new record upon insert?
Depends if you are using auto-numbering for your primary keys. If you are (and certain other conditions are met) then yes, it is supposed to do that.
You can override it on the Advanced tab if you like - but then of course you cannot add child records until the parent has been saved.
Hint: Stop using auto-numbering for Primary keys!
cheers
Bruce