get recordcount from a tquery

I want to retrive the recordcount from a TQuery without needing to move in the result of data.
If this isn't possible how do i get the recordnumber from the first and last record.

Who is Participating?

Improve company productivity with a Business Account.Sign Up

BlackManConnect With a Mentor Commented:
Use the RecordCount property on TQuery...
It's not trivial, but try use inherited from TCustomGred.RowCount
method. If it's right mail me, smiling together.
samoneAuthor Commented:
Sorry for asking so dumb Q.
CouldnĀ“t find it when I needed it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.