How can I insert a edit button into a form (1 Viewer)

carlos.moyaq

New member
Local time
Today, 12:42
Joined
May 10, 2012
Messages
2
Hi!

I´m creating a form to allow users to add and edit registries from a table. I want the form to have two buttons, one for adding and other for editing, just to make sure no one edits a registry clicking the add button by mistake.

My idea is to set the Allow Edits property as "YES" and write a code to block it when clicking the add button.

This isn´t working because, I assume, when I click the add button access would first update the registry (exactly what i don´t wanted) and then block the edits property (a bit too late)
 

Users who are viewing this thread

Top Bottom