Performs the delayed transferring the data from a source document into a target document using a server. The function can be useful if an user hasn't enough access level to change a document but some data have to be transferred into it. The request for document update will be placed in the app DEC or other app which is set to process the requests on server. Read more about this in the help topic - Delayed Documents Update.
Syntax
DEprD2Ddelay( D2Dname$, D2Dprocess%, srcDoc, trgDoc )
Arguments
D2Dname$ - string, input. The name of a DocToDoc config which the data should be transferred by. To use several configs at the same time you should type their names in the string through a space.
D2Dprocess% - integer, input. The number of a transfer process: 1 - adding data, 3 - erasing data. Read more about this number in the help topic - Function DEprD2D.
srcDoc - NotesDocument, input. The source document which the data should be transferred from. It can be Nothing only for the data erasing if the DocToDoc config hasn't items computing on a source document ( tag SRC ).
trgDoc - NotesDocument, modified. The target document which the data should be transferred into. The document can be changed using the request which will be sent onto server for its processing. You must not next save the document in your code to save the changes in it because this will be done at processing of the request on server by the special agent.
Return
Boolean. The value True (-1) means that some data from source document will be transferred into target document using the request for delayed document update.
Configs used
DocToDoc.
Topic links:
See also: