Hi,
I have a form that depending on certain criteria locks all of the
subforms on this form. The problem is when the code unlocks the
subforms their "allowedits" "allowdeletions" and "allowadditions"
properties are set to "NO". I believe when the main form locks the
subforms it sets these "allow" properties to "no". But when the
subforms are unlocked the "allow" properties are not set back to "yes".
I have all this code in the oncurrent event. Depending on the record
that I'm in, the form is either locked or not.
Anyhow I tried setting the "allow" properties to yes during the unlock
opperation, but access gives me an error stating that the subforms
don't have the allow properties...
what am I doing wrong?
thanks