🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Getting the type of a field

#2507
From: Yassin
Date: Wed, 04 Jun 2003 22:46
3 lines
1243 bytes
Hi,
If I know the database name I can get the table names by calling GetTableNames. If I know the table name I can know the name of the fields by calling GetFieldNames(tableName, fields). My question is: how can I know the type (int, date, text,...) of a field if I know the name of the fiels and/or the name of the table?
Technical Details
Message-ID: <3ede76d1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,858833551822127,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-06-04 15:57:09 PST
From: "Yassin" <urmail@yahoo.com>
Sender: "Yassin" <urmail@yahoo.com>
Reply-To: "Yassin" <urmail@yahoo.com>
Subject: Getting the type of a field
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 62.177.189.75 62.177.189.75    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ede76d1$1@newsgroups.borland.com>
Date: 4 Jun 2003 15:46:41 -0700
X-Trace: newsgroups.borland.com 1054766801 207.105.83.65 (4 Jun 2003 15:46:41 -0700)
Lines: 4
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail