🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #8

Re: TDBGrid : How to get the rowcount ?

#8
From: Michael Lo
Date: Mon, 09 Aug 1999 00:00
22 lines
1425 bytes
 I think You can use RecordCount();
or use SQL Count(*) dynamically depends on what u are wirtting


JVB ���g��峹 <37A584D9.C2A4BC9A@thepentagon.com>...
>Hi,
>
>I'm looking for a way to get the rowcount in a TDBGrid object.
>The data is filled in dynamically, but then i need to determine
>programmically
>what the rowsize is of each of the columns , so that i can make a
>looping construct
>to go by each row and then access the cell from that row in each of the
>columns of the TDBGrid object. There is a Collumns Property, but no Rows
>property ...
>Does anyone have a clue ?
>
>thanx already,
>
>Jeroen
>Computer Science Student
>
Technical Details
Message-ID: <7om03h$6ck8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37A584D9.C2A4BC9A@thepentagon.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fcd2b,68cfe0eb0adaef4a
X-Google-Attributes: gidfcd2b,public
X-Google-Thread: 10bf25,68cfe0eb0adaef4a
X-Google-Attributes: gid10bf25,public
X-Google-Thread: fc5f9,68cfe0eb0adaef4a
X-Google-Attributes: gidfc5f9,public
From: "Michael Lo" <cathylo@ihug.co.nz>
Subject: Re: TDBGrid : How to get the rowcount ?
Date: 1999/08/09
Message-ID: <7om03h$6ck8@forums.borland.com>
X-Deja-AN: 510515675
References: <37A584D9.C2A4BC9A@thepentagon.com>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.cppbuilder.database.multi-tier,borland.public.cppbuilder.database.sqlservers,borland.public.cppbuilder.database.desktop