Visual Basic: RDO Data Control

Visual Studio 6.0

Description Property (Remote Data)

See Also    Example    Applies To

Returns a descriptive string associated with an error.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Return Values

The Description property return value is a string expression containing a description of the error.


When an error occurs either on the remote server, or in the ODBC interface while processing your query, an rdoError object is created and appended to the rdoErrors collection. The rdoError object's Description property returns a short description and context information about where the error occurred. This can be used to alert the user to an error that you cannot, or do not want to handle. The SQLState code is appended  to the front of message, followed by a colon and a space. For example "S0021: Cannot find XXX".