version 6.0.6
OP Request (connectID; status) Longint
Parameter | Type | Description | |
connectID | Longint | Unique ID for the established connection | |
status | Longint | Is request in progress? | |
Function result | Longint | Error 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