Unloading and Reloading a Referenced Object
When you unload a loaded referenced object, it frees the memory but does not delete the reference.
Unload – If you have a reference object named NS, you can set its
IsLoadedattribute to False to unload all the referenced items as follows:lFileReference = FBFindObjectByFullName( "FileReference::NS" ) lFileReference.IsLoaded = FalseReload – You can reload the reference object by setting its
IsLoadedattribute to True as follows:lFileReference = FBFindObjectByFullName( "FileReference::NS" ) lFileReference.IsLoaded = True
