🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.misc
Article #142

How to create my own recordset and how to display it to dbGrid

#142
From: Jan Jaros
Date: Mon, 23 Nov 1998 00:00
31 lines
1864 bytes
Hi, I've this problem

I have some data from object's DB
f.e. OBJECT  = Human
                  name : string
                  height : integer
                  Birthday : Date
             .........

and I want to display this object in dbGrid as        name    |     height
|    birthday
                                                                            
        ------------------------------------------

petr             124           12.2.1222

..............

I now that dbGrid needs some DATASource and its recordset.

Is there any chance to use standart component of DATASource and its
recordset or should I create my own?
( I mean standard component for ADO,DAO )

There's a new question. how to create my own DataSource.
f.e how to create recordset ???

I try to create new recordset, but I can't access him, I can't fill or get
any of his values.

                                                Jan Jaros
Technical Details
Message-ID: <73bkp2$ss3$1@adis.cesnet.cz>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c949,95e83554eea8bbc,start
X-Google-Attributes: gid10c949,public
X-Google-Thread: 108062,95e83554eea8bbc,start
X-Google-Attributes: gid108062,public
X-Google-Thread: 114664,95e83554eea8bbc,start
X-Google-Attributes: gid114664,public
X-Google-Thread: 105ba9,95e83554eea8bbc,start
X-Google-Attributes: gid105ba9,public
X-Google-Thread: 1143a7,95e83554eea8bbc,start
X-Google-Attributes: gid1143a7,public
From: "Jan Jaros" <jaros@brainsys.cz>
Subject: How to create my own recordset and how to display it to dbGrid
Date: 1998/11/23
Message-ID: <73bkp2$ss3$1@adis.cesnet.cz>
X-Deja-AN: 414775610
Organization: Cesnet
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: comp.lang.basic.misc,comp.lang.basic.visual.database,cz.comp.lang.basic.visual,microsoft.public.vb.database.odbc,microsoft.public.vb.database.rdo