setting "allowediting" on the form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have set the Allowediting to false for a certian condition, and this works fine. Now I have gone and added some buttons to enable filter by selection or disable filter by selection, it is here where the conflict occurs. If say, the record you are in fits the condition lock the form editing and you turn on the filter by selection, it causes the form to stay locked, "allowediting" even though the condition is met to allowediting. The condition is being checked from "current event". Any idea's. Code in this area looks like the following

if me.control.value = "yes" the
me.allowediting = fals
me.subform.form.allowediting = fals
els
me.allowediting = tru
me.subform.form.allowediting = tru
end i
 
The property is named "AllowEdits"

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Derek said:
I have set the Allowediting to false for a certian condition, and this
works fine. Now I have gone and added some buttons to enable filter by
selection or disable filter by selection, it is here where the conflict
occurs. If say, the record you are in fits the condition lock the form
editing and you turn on the filter by selection, it causes the form to stay
locked, "allowediting" even though the condition is met to allowediting.
The condition is being checked from "current event". Any idea's. Code in
this area looks like the following:
 

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

Back
Top