CodeCharge Studio

DataSource.CountSQL Run-Time Property (ASP)

Applies to

DataSource Object

Type

string

Access

read/write

Syntax

object.DataSource.CountSQL [=value]

Description

Stores the main part of the SQL query that is used to find the number of records fetched by DataSource object.
This property does not include the WHERE clause. Before the query is executed, conditions from the Where and WhereParameters properties are used instead.
Note: The usual content of this property includes the COUNT aggregate function: SELECT COUNT(*) FROM ...

See Also

DataSource.SQL Property
DataSource.Where Property
Recordset.RecordCount Property


On-line, printable versions and updates