Page 1 of 1

Count record.

Posted: Mon 22 Nov 2004 09:18
by Per
Hi.
How do i use mydac components to count the records in a innodb table?

//Per

Re: Count record.

Posted: Mon 22 Nov 2004 13:11
by Ikar
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]