Set Properties by Using Visual Basic
You can set most properties from Visual Basic code. How you set a property depends on whether you are setting it for a Form, Report, or Control object, an ActiveX Data Object (ADO), a Data Access Object (DAO), or for a DataAccessPage object. The following topics outline the steps involved for setting properties of each type of object:
Set Form, Report, and Control Properties in Visual Basic
Set Properties of ActiveX Data Objects in Visual Basic
Set Properties of Data Access Objects in Visual Basic
Set Properties of Data Access Pages in Visual Basic