Solved

get recordcount from a tquery

Posted on 1998-12-23
3
285 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
3 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 50 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now