Chapter 9 Accessing objects using VBScript


Properties

A property is an elementary information available for the object. It can be the name, the code, the comment etc.

Example

'How to get a property value in a variable from table 'Customer
'Assuming MyTable is a variable that already contains a 'table object
Dim Table_name
'Get the name of MyTable in Table_name variable
Table_name = MyTable.name
'Display MyTable name in output window
output MyTable.name
'How to change a property value : change value for name 'of MyTable
MyTable.name = 'new name'

 


Copyright (C) 2005. Sybase Inc. All rights reserved.