🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: getting the field types using ADO

#3421
From: Jerry Irons
Date: Sat, 17 Aug 2002 13:04
10 lines
1124 bytes
Hello,

For just one column, 

DataSet->FieldByName("PatientID")->DataType

will reveal the datatype.  It's a property of TField.  You can also
look at DataSet->FieldDefs for everything...

-Jerry
Technical Details
Message-ID: <i9islukcoecq2rpbmadqcm32nver9bb9ch@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!easynet-quince!easynet.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail
References: <3d5d7d7e$1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,5c57a7735fa01fc7
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-08-17 06:11:30 PST
From: Jerry Irons <JIrons@compuserve.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: getting the field types using ADO
Date: Sat, 17 Aug 2002 09:04:05 -0400
Message-ID: <i9islukcoecq2rpbmadqcm32nver9bb9ch@4ax.com>
References: <3d5d7d7e$1@dnews>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.54.9.179
X-Trace: dnews 1029589498 24.54.9.179 (17 Aug 2002 06:04:58 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!easynet-quince!easynet.net!oleane.net!oleane!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail