🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4481

Re: Question on using class TDBGrid

#4481
From: Ivan Mihailov
Date: Tue, 08 Jan 2002 19:57
14 lines
1223 bytes
Hi,

You can use OnGetText on the TField level to customize the display value of
the field .
 However you should use persisten fields to do that.

Ivan

"mailchecker" <mailchecker@sina.com> wrote in message
news:3c352ad2_2@dnews...
> One Column's value is '1' or '0',when '1' I want it display 'yes' and 'no'
> when '0',how can I do?
>
>
Technical Details
Message-ID: <3c3b4ef1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!213.204.128.162!news000.worldonline.se!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3c352ad2_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,c664bcebcd8f0073
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-01-08 12:02:16 PST
From: "Ivan Mihailov" <iradev@mail.vega.bg>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3c352ad2_2@dnews>
Subject: Re: Question on using class TDBGrid
Date: Tue, 8 Jan 2002 21:57:10 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 212.39.81.151
Message-ID: <3c3b4ef1_1@dnews>
X-Trace: dnews 1010519793 212.39.81.151 (8 Jan 2002 11:56:33 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!213.204.128.162!news000.worldonline.se!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews