79836778

Date: 2025-12-03 10:44:38
Score: 2
Natty:
Report link

Don't rely on FireDAC or any of the database-related components to get you a record count. Go straight to SQL and ask for the total record count with a direct statement:

TotalRec := Connection1.ExecSQLScalar('SELECT count(*) from YourTableName');

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NobodyYouKnow98