Solved

get recordcount from a tquery

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
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…

828 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