Hello.
I need some suggestion on how to understand in a form application if I am inserting a new record or updating a new one.
One option could be to add in the load event something like:
If ( empty({primaryKeyField}) ) … // INSERT MODE
else
// Update mode