If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Strange: data puts form in state that prevents subform editing?
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 |
#2
|
|||
|
|||
Strange: data puts form in state that prevents subform editing?
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. -- Maurice Ausum "The Dude" wrote: 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 |
Thread Tools | |
Display Modes | |
|
|