Method SelectDocument(TableId: integer, PrimKey: string, var DocId: integer): boolean
Description
Selects a document for a particular item type. There are a limited number of types to use. For each item type another form is showed. When showing the form the "Documents pane" is activated.
TableId
Item type to be shown.
Primkey
Key value of the item that is activated in the list.
DocId
DocumentId of the selected document.
Result
Indicates whether the selection of a document was successful (= TRUE) or not (= FALSE).