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: •The calling Bookings window contains a UDPDays user-defined property. •The created Days window contains a UDPBookings user-defined property. To clear the reference to a window that is closed manually:
UDPDays.UDPBookings( '' )
UDPBookings.UDPDays( '' )
:"UDPDays()" is NOT NULL
:"UDPBookings()" is NOT NULL
|