Check whether form is is 'edit' mode

D

DEI

Is there any way to determine programmatically what state a form that s
currently open is in? Whether a record is currently being edited (i.e.
pencil showing on navigation bar) or not. I want to allow users to toggle
between forms, but want to notify them if a record is currently being edited.

I am using the 'IsLoaded' AllForms property to test whether the form is
loaded. How can I test whether a record on a form is being edited. I am
hoping the answer is simple and I am just missing something.

Thanks,

DEI
 
B

Brendan Reynolds

DEI said:
Is there any way to determine programmatically what state a form that s
currently open is in? Whether a record is currently being edited (i.e.
pencil showing on navigation bar) or not. I want to allow users to toggle
between forms, but want to notify them if a record is currently being
edited.

I am using the 'IsLoaded' AllForms property to test whether the form is
loaded. How can I test whether a record on a form is being edited. I am
hoping the answer is simple and I am just missing something.

Thanks,

DEI


Check the Dirty property of the form.
 

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

Top