Record or Form editing control

G

Guest

Hi

I would like to control record editing in a multi user data base.
Record editing in that specific application is performed only through forms.
Do I have to set record locking, form locking, or both?
How can I do it programmatically?

Thanks

GL
 
M

[MVP] S.Clark

You can open the form as readonly. Place a command button that requires
being clicked to edit the record.

Docmd.OpenForm "Formname", ,,,acFormReadOnly

In the Onclick:
me.allowedits = True

In the after update for the form
me.allowedits = false
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top