Advanced PowerBuilder

HomePrevious Lesson: Two-Way Links
Next Lesson: Embedding

Adaptable Links

OLE provides the mechanism for objects to be linked in a variety of ways and have those links adapt to changing situations. An object may be linked to a complete or partial object, referred to as a pseudo object. An example of a pseudo object is a range of spreadsheet cells. The source of a link may reside inside either the same compound document as the linked object or in a separate compound document. Both the compound documents containing the linked object and the link source may be stored in a standard disk file or in a file managed by the OLE storage system.

If the linked object is copied to a new location while the link source stays in place, the link remains intact and the linked object points correctly to the source. Similarly, if both the compound documents containing the linked object and the link source are moved to a new location in the same relative path, the link remains intact.
HomePrevious Lesson: Two-Way Links
Next Lesson: Embedding