?
Solved

get recordcount from a tquery

Posted on 1998-12-23
3
Medium Priority
?
297 Views
Last Modified: 2010-05-18
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.

samone
0
Comment
Question by:samone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 150 total points
ID: 1352707
Use the RecordCount property on TQuery...
0
 
LVL 1

Expert Comment

by:slautin
ID: 1352708
It's not trivial, but try use inherited from TCustomGred.RowCount
method. If it's right mail me, smiling together.

slautin@yahoo.com
0
 

Author Comment

by:samone
ID: 1352709
Sorry for asking so dumb Q.
Couldn´t find it when I needed it.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question