Count record.

Count record.

Postby Per » Mon 22 Nov 2004 09:18

Hi.
How do i use mydac components to count the records in a innodb table?

//Per
Per
 

Re: Count record.

Postby Ikar » Mon 22 Nov 2004 13:11

You can execute SELECT and get data from DataSet.RecordCount or execute SELECT COUNT(*) FROM TableName and receive a number of records from Query.Fields[0]
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components