Hi,
I know that FiC does not support formsets in web mode, but the problem is that after automatic adaptation formsets experience an error in lan mode - I suggest that FiC should accommodate this in lan mode and not produce an error.
awfrm.load
IF m.this.DataSession = 2 && Private dataSession
awfrm.wcLangUser_assign
case this.DataSession # 2 && default datasession, not private
The problem is that this.DataSession
does not exist on a form within a formset.
I could simply not run the FiC Load() on a formset-form, but it sets some useful properties so I would rather not interfere in the natural flow of code.
Paul
OK, thanks for the feedback and for learning that a form member of a formSet does not have the .dataSession
property.
What if you replace in awFrm
:
this.DataSession
by
Iif(Type('thisForm.DataSession') == 'N', thisForm.DataSession, thisFormSet.DataSession)
?
Yes, if you are going to make that change in FiC then I will make the change in my version now.
FYI, the proposed fix is not present in awfrm.Load in beta.4
Paul