Hello there,
I am having a strange problem, hope some one might have something to say on this.
I have one form and due to some requirement we need to move some of the fields from this form and put them into a subform and then embedded the subform in the same form.
Now in the form I have notesUiDocument object (uiDoc) defined under the globals section so that it is available for all the objects there under. and it is working fine also. Now in the subform created this uiDoc object is available in the Post open event of the subform but in the fields in the subform under the On Entering/On Exiting event this object (uiDoc) is somehow not available and I am getting the error “Variant does not contain an Object” when ever the user tries to comes in those field or exit out from them.
Is any one having some ideas as to why this uiDoc object is available in the post open event of the Subform but not under the field scripts like On entering/On Exit.
Thanks