ReadSpeed |
Top Previous Next |
Function ReadSpeed(filename, fieldname: string; fieldindex: integer): integer;
From the specified filename speed is read for each link. Non-positive speeds are interpreted as the link being closed - the same as calling CloseLink with parameter 1536.
The file should be of type DBF (version 3) or DAT file (part of a TAB file).
In the case of a DAT file, the corresponding TAB file needs to be present. If you supply fieldindex=0, the fieldname will be used. If you supply a fieldindex (1..) it will be used for reading from the file.
Filename should include a fully qualified path.
Possible error codes: -10 -20 -22 -30 -32 -40 -51 Versions: Standard Pro ActiveX / VCL / CLX component: RWnetBase
|