Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Err StatementThis standard VB statement sets a run-time error code. SyntaxReturnsUsageThe Err statement is used to send error information between procedures. ExampleThis example generates an error code of 10000 and displays an error message if a user does not enter a customer name when prompted for it. It uses the Err statement to clear any previous error codes before running the loop the first time, and it also clears the error to allow the user to try again. For another example, read Error Statement. Sub Button_Click See AlsoErl Function |
Siebel VB Language Reference |