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

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
 
M

Maurice

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.
 

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