OP Request

4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next

version 6.0.6


OP Request (connectID; status) Longint

ParameterTypeDescription
connectIDLongintUnique ID for the established connection
statusLongintIs request in progress?
Function resultLongintError code

Description

When running in asynchronous mode, the command OP Request allows you to test if the running request has completed.

4D Open for 4D cannot execute more than one request at a time. OP Request returns 1 in the status parameter if the request has completed, otherwise it returns 0 (zero).

In previous versions of 4D Open for 4D, it was not possible to test if a request was completed in asynchronous mode — actually the only solution was to try to start a new one (-32003;-32001;10154).

See Also

OP Open connection.


4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next