Strange: data puts form in state that prevents subform editing?

  • Thread starter Thread starter The Dude
  • Start date Start date
T

The Dude

Hello all,

I have a question regarding the state of a form:
I have a form with a subform in DS view, and when I enter data in the main
form then I cannot edit anything in the subform.
If I empty completely the main form, then my subform becomes available for
editing...

So my question is to know if there is a state or event on a form that
triggers when you start entering data?
Note that I have set the record lock to Edited Record in both form/subform.

Thanks in advance :-]
TD
 
My guess would be the "Dirty" state of the form. Maybe the subform is
strictly depended on the key of the mainform and it will only allow edits
when the fk is assigned.

Sometimes it helps to force the state of the form by setting its state to
me.dirty=false when a certain field has been filled (the pk for sure) and
maybe an additional field.
 
Back
Top