Article View: borland.public.cppbuilder.database.ado
Article #3567Custom Database Objects
From: Mark Petryk
Date: Wed, 10 Jul 2002 20:52
Date: Wed, 10 Jul 2002 20:52
19 lines
1910 bytes
1910 bytes
I am trying to construct my own database object, consistent with borland's objects, that connects to my own database engine (sort of). Actually, it's a client program that has conduits to the internal data through DDE and COM. So, I want to construct my own database object to "transform" (so to speak) my DDE/COM database to a database object that can be placed on a TDBGrid or TDBEdit or any of the other objects. Is there documentation on how to do this? I have built an object, so far, that looks like the TDataSet object. I've gotten as far as noticing that when I connect my TMyDataSet object to the TDataSource object for a TDBGrid object that it begins making calls (IsCursorOpen, AllocRecordBuffer, GetRecord) and so on. But, AllocRecordBuffer, for instance, returns a pointer to a character buffer. My data, necessarily, isn't in a big character buffer. It's a bunch of fields and things. So, is there some sort of documentation that can provide some guidance? Any help is greatly appreciated.
Technical Details
Message-ID:
<3D2C9E84.9030609@yahoo.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,1099f485881ce80e,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-10 15:40:48 PST Message-ID: <3D2C9E84.9030609@yahoo.com> Date: Wed, 10 Jul 2002 15:52:20 -0500 From: Mark Petryk <markpetryk@yahoo.com> User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Custom Database Objects Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 199.34.86.54 X-Trace: dnews 1026334340 199.34.86.54 (10 Jul 2002 13:52:20 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews