PrDoc: GetError

GetError

[Obsolete] Returns the error code and error string of the control.

 Public Function GetError(
	  ByRef errcode As Long,
	  ByRef errmsg As String ) As Boolean

Parameters

errcode
The error code value.
errmsg
The error string.

Return Values

Returns false if the error message could not be retrieved.

Languages

[Visual Basic] Public Function GetError(ByRef errcode As Long, ByRef errmsg As String) As Boolean

[Delphi] function GetError(var errcode: Integer; var errmsg: WideString): Boolean;

[C++] bool GetError(long* errcode, BSTR* errmsg);

Remarks

This method is obsolete. Use the GetErrorCode and GetErrorString methods instead.

See Also

Class PrDoc Overview PrDoc Properties PrDoc Methods FieldStatus GetErrorCode