SELECT COUNT(*) FROM tbl_name
tbl_name
It's because the COUNT(*) expression is returning a BIGINT, and ADO can't make sense of a number this big. Select the Change BIGINT columns to INT option (option value 16384).
COUNT(*)
BIGINT
Change BIGINT columns to INT