Gets the target documents for a source document in order that a user next picks some of them. Differs from the function DEpickD4D that more than one document can be picked.

Syntax

DEpickC4D( D4Dname$, trgCond$, srcDoc, showEmpty, prompt$, trgDocs )

Arguments

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

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

srcDoc - NotesDocument, input. A source document for which the target documents should be got.

showEmpty - boolean, input. The value True (-1) means that if targets documents have not been got, the view with no documents for picking will not be displayed.

prompt$ - string, input. A text that should be displayed at the documents picking. For example - describe why the picking is being done.

trgDocs - NotesDocument List, modified. If the target documents have been picked by a user, they will be placed into the list. Otherwise the list will remain with no changes.

Return

Boolean. The value True (-1) means that the target documents were got and next a user has picked some of them, and False (0) that at least one of this hasn't occurred.

Configs used

DocExt\DocForDoc.


Topic links:

DocExt\DocForDoc config

Function DEpickD4D

See also:

Functions of the library DocExtLib