The DataSource type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
BOF |
Returns true if the cursor is pointing at the first record in the data source.
|
![]() |
EOF |
Returns true if the cursor is pointing at the last record in the data source.
|
![]() |
GetBookmark |
Returns the current cursor position.
|
![]() |
GetFieldValue |
Gets the value of the given field, at the cursor position.
|
![]() |
GetRecordSource |
Processes the PARAMETERS clause in the RecordSource string and returns the result.
|
![]() |
MoveFirst |
Moves the cursor to the first record in the data source.
|
![]() |
MoveLast |
Moves the cursor to the last record in the data source.
|
![]() |
MoveNext |
Moves the cursor to the next record in the data source.
|
![]() |
MovePrevious |
Moves the cursor to the previous record in the data source.
|
![]() |
SetBookmark |
Sets the current cursor position to supplied value.
|
![]() |
ToString |
Returns a string representation of DataSource object.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
![]() |
CommandTimeOut |
Gets or sets the number of seconds to wait before the data connection times out
(set to -1 to use the default value, usually 30s).
|
![]() |
ConnectionString |
Gets or sets the string used to open a database.
|
![]() |
Filter |
Gets or sets the expression used to filter which data rows are included in the report.
|
![]() |
MaxRecords |
Gets or sets the maximum number of data rows to be included in the report (set to zero to include all rows).
|
![]() |
ParentReport |
Gets the report that contains this DataSource.
|
![]() |
Recordset |
Sets or gets the data source object that provides data to the report.
|
![]() |
RecordSource |
Gets or sets a string that specifies which table, stored procedure, or Sql command
to use for retrieving the report data.
|