There is a tutorial on the web that states to start editing a form, one should add button on our form and name it btn_Edit.
Also give the button a caption Edit.
Put it under events in the property sheet for OnClick.
The initial code shown would be
Code:
Private sub btn_Edit_Onclick()
Me.AllowEdits=True
End Sub
Easy enough.
Now a subprogram to disallow edits whenever the user moves to the next record.
Code:
Private sub Form_Current()
Me.AllowEdits=False
End Sub
Again thus us very straight forward.
That is the point of my question. I am not sure what this last subprogram does. It disallows edits.
But where does it disallow edits?
I am just not sure what the second subprogram does and how it does it.
Any help appreciated. Thanks in advance.
Respectfully,
Lou Reed