ComponentOne True DataControl 8.0
DesignConnection Property

 

DesignConnection Property

If True, live database connection is always used at design time.

Syntax

TData.DesignConnection = boolean

Remarks

Read/Write at design time. Ignored at run time. Property applies to TData control.

This property determines whether a TData control uses live database connection at design time. It has effect only for DataMode = 0 – DataSource.

If set to True (default), TData tries to establish database connection when it needs information from the database. That is, when the Fields property page is opened, performing syntax check and on some other occasions.

Set this property to False if you are working in disconnected environment, or if establishing connection is too time consuming or unnecessary. Setting it to False only means that TData won’t attempt to establish connection on its own. It will still try to establish connection when you perform Retrieve Fields or press the Test button on the DataSource property page.

Note: At design time, this property is not available in the property pages and must be set in the Visual Basic Properties window.

For more information, see DesignTimeout property.

See Also

TData Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback