ComponentOne True DataControl 8.0
RecordSource Property

 

RecordSource Property

Source of recordset in data source mode: SQL, other command text or table name.

Syntax

TData.RecordSource = string

Remarks

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

The RecordSource property defines the textual description of the source of recordset in data source mode: SQL, other command text, table name, or stored procedure name. It is used when the TData control creates its SourceRecordset.

Interpretation of the RecordSource property, whether it is a table name, SQL statement, or a stored procedure name, depends on the CommandType property.

This property is relevant only for data source mode (DataMode = 0 – DataSource). It can be set at any time during the control’s lifetime, but it will take effect only if set at design time, in WillOpenData event or after the Refresh method is called.

See Also

TData Control

 

 


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

Product Support Forum  |  Documentation Feedback