When you OpenForm using A_READONLY as the DataMode, Access sets several
properties for the form, and you can read the properties. In later versions,
the properties are AllowEdits, AllowDeletions, and AllowAdditions, e.g.:
? Forms("MyForm").AllowEdits
Can't recall if they have the same name in A2.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"MLH" <CR**@NorthState.net> wrote in message
news:96********************************@4ax.com...
Can I run a procedure and read a value to indicate data mode
like A_EDIT or A_READONLY (Access Basic in Access 2.0) ?