You cannot use the IsEmpty function to determine if a variableof type Form or any Object has been assigned a value. You can,however, use this method to determine if the Object has ever beenassigned a value other than Nothing:
If Not frmChild Is Nothing Then frmChild.UnloadEnd If