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...
I have a similar problem, I´m adding a search button into my form but every time I click it, it add a new register. So I wrote:
private sub BUTTONSNAME_click ()
me.allowadditions=false
end sub
It does chage de "allowadditions" property to NO, but not before adding a new registry when clicked...