Opens a target document got for a source document. If several target documents have been got, the view for choice what of them should be opened will be appeared.

Syntax

DEopenD4D( D4Dname$, trgCond$, srcDoc, silent )

Arguments

D4Dname$ - string, input. The name of a DocExt\DocForDoc config's item which the target document should be got by. Read more about this name in help topic - DocExt\DocForDoc config. To use several configs names at the same time, type their names in the string through a space.

trgCond$ - string, input. An additional condition in Formula Language to select the target document from got ones using the DocExt\DocForDoc config's item.

srcDoc - NotesDocument, input. A source document which the target document should be got for, to open it next.

silent - boolean, input. The value True (-1) means that if no documents haven't been got for the opening an empty view will not be displayed.

Return

Boolean. The result True (-1) means that documents have been got and at least one of them has been opened by a user.

Configs used

DocExt\DocForDoc.


Topic links:

DocExt\DocForDoc config

See also:

Functions of the library DocExtLib