Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

different records in same row of DBGrid

1 view
Skip to first unread message

TomCorcora

unread,
Jun 27, 1996, 3:00:00 AM6/27/96
to
Hi,

Is there any way I can have differenet records (all from one table) in the
same row of a DBGrid? My columns contain data for the days of the week,
all of which are a seperate record in the database..

It looks like this might be more easily achieved with the updated DBGrid
component that come with delphi 2.0, however I am developing in Delphi
1.0.

Any ideas would be much appreciated.

Thanks.

Tom.

Rob Davis

unread,
Jun 28, 1996, 3:00:00 AM6/28/96
to
tomco...@aol.com (TomCorcora) wrote:

>Hi,
>
>Is there any way I can have differenet records (all from one table) in the
>same row of a DBGrid? My columns contain data for the days of the week,
>all of which are a seperate record in the database..

I'm fairly much a beginner so don't count on this advice but...
I'm doing something similar (developing a timetabling system) and I'm
putting the data parsed from a ttable into a TStringGrid - which with
headers looks fine. It's fairly easy to make a day of the week value
in the data reference a particular column in the TStringGrid..

Grist to the mill, Rob
--------------------------------
email: RobD...@wheel.demon.co
Rob....@unn.ac.uk
Web: http://www.unn.ac.uk/~isu8

Terry Bowden

unread,
Jun 28, 1996, 3:00:00 AM6/28/96
to
I have used a string grid and populated the cells with while loops.

The problem with doing this is that users cannot update the table. If all
you need to do is display the information this will work.

> tomco...@aol.com (TomCorcora) wrote in article
<4qv23e$5...@newsbf02.news.aol.com>...


> Hi,
>
> Is there any way I can have differenet records (all from one table) in
the
> same row of a DBGrid? My columns contain data for the days of the week,
> all of which are a seperate record in the database..
>

RHarman313

unread,
Jul 1, 1996, 3:00:00 AM7/1/96
to

The dbGrid that comes with the InfoPower components from Wall2Wall
can "Link" another data table into a dbGrid as long as there is a common
key in both data tables. I have done this in a a few programs using
Delphi 1.0.
Bob Harman
EMail: RHarman313.aol.com

0 new messages