Clearing the Reference To a Closed Window |
If you have set up a permanent window interaction between two windows, where both windows can affect each other, it can occur that the user closes one of these windows. In this case, the other window still contains a reference to the closed window in its user-defined property. You have to clear this reference manually to avoid subsequent actions leading to unexpected results or error messages. Suppose the calling Bookings window opens the Days window. Both windows have a user-defined property that can be filled with a reference to the other window. That is:
To clear the reference to a window that is closed manually:
UDPDays.UDPBookings( '' ) This clears the reference in the Days window to the (closed) Bookings window.
UDPBookings.UDPDays( '' ) This clears the reference in the Bookings window to the (closed) Days window.
:"UDPDays()" is NOT NULL and set the Yes action to the desired method call, and do not define a No action.
:"UDPBookings()" is NOT NULL and set the Yes action to the desired method call, and do not define a No action. |