There is a custom validator that calls global scripts. The global scripts call events using ThisForm.GenerateEvent. This works when the form is called directly. However, when it is a linked child, the event calls cause the session to time out. To avoid the time out, the script has been updated as:
If ThisForm.IsLinkedChild = False
ThisForm.GenerateEvent("CustNumChanged")
Else
End If
In order for the form to update correctly, even as a linked child, the event handlers need to be called.
I tried Application.FocusToForm("FormName") and Application.ActiveForm.GenerateEvent("EventName"), but these still result in the time out issue.
Is there a different way to call an event handler in a global script when a form is a linked child?