valid

Description

The state of the data source object. 

Read/Write property

Type: boolean

True - the database resource is ready to be used through other methods of the data source object. 

False - the data object is not ready.

You can set this property to false to forcefully invalidate the data source. This is more efficient than setting a scope expression which yields a zero record set in the case when no records need to be shown.

Example

   If DS.valid Then DS.Create    ' check if valid

   DS.valid = false              ' invalidate

See also

alias

clsid

dsn

database

password

schema

table

user

DS