Solved

get recordcount from a tquery

Posted on 1998-12-23
3
293 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi TcxGrid group footer summary 3 358
How to renew a Delphi rad-studio licence? 5 77
Delphi...Split view - idea? 1 117
DBGrid or StringGrid ? 6 120
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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