LinkToDocumentWindow

All Editions image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The LinkToDocumentWindow transaction links an external Reference or Detail window to an external document window. The external document and Reference or Detail windows must be registered before they can be linked together. Registering the windows provides you with their IDs.

Type XTYP_EXECUTE

Syntax [LinkToDocumentWindow(refWinID, docwinID)]

 [LinkToDocumentWindow(dtlWinID, docwinID)]

Parameter

Data type

Meaning

refWinID

DWORD

identifier of the external Reference window

or

 

 

dtlWinID

DWORD

identifier of the external Detail window

docwinID

DWORD

identifier of the external document window to link to the Reference or Detail window. See Remarks.

Remarks

When issuing commands to external document windows, you must use a specific docwinID, even if you are referring to the active document.

Release information

Added in Release 4.30.

See also

Using external Reference and Detail windows