Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Error FunctionThis standard VB function returns the error message that corresponds to the specified error code. SyntaxReturnsThe text of the error message corresponding to the error code; if this argument is omitted, Siebel VB returns the error message for the run-time error that has occurred most recently. If no error message is found to match the error code, a null string ("") is returned. UsageThe dollar sign ($) in the function name is optional. If it is included, the return type is string. Otherwise the function returns a variant of vartype 8 (string). The standard VB trappable errors are listed in Trappable Errors in Siebel VB ExampleThis example prints the error number, using the Err function, and the text of the error, using the Error$ function, if an error occurs during an attempt to open a file. Sub Button_Click See AlsoErl Function |
Siebel VB Language Reference |