Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > With StatementThis standard VB construct executes a series of statements on a specified variable. SyntaxWith variable ReturnsUsageVariable can be an object or a user defined type. The With statements can be nested. ExampleThis example uses a Siebel VB method to change values in an object when a specific field is successfully changed. With is used to refer to the object in which the values are changed. For another example, read Nothing Function. Sub BusComp_SetFieldValue(FieldName As String) Select Case FieldName With oBCact set oBCact = Nothing See Also |
Siebel VB Language Reference |