Syntax
NetErr( [lNewError] ) --> lErrorArguments
lNewError
Optional new value of the network-error flag.
Return value
Previous network-error state.
Description
NetErr() reports whether the last network database operation failed and can set a new state.
Notes
The flag is maintained by database operations such as locking and opening files.
Example
PROCEDURE Main()
NetErr( .F. )
QOut( "Network error: " + IIF( NetErr(), "YES", "NO" ) )
RETURNOutput