🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to find if a table column is null allowed or not ?

#4924
From: Harold Howe (TeamB)
Date: Fri, 31 Aug 2001 03:07
13 lines
1317 bytes
Satya S Kolachina wrote:

> I need to determine if a particular column allows null values or not, in the
> underlying table.
> 
> (1) TDataSet->FieldDefList->FieldDefs[i]->Required
> (2) TDataSet->FieldDefList->FieldDefs[i]->Attributes.Contains(faRequired)

What database are you using? You might need to perform a query against the system
tables of that database.

Harold Howe [TeamB]
http://www.bcbdev.com
Technical Details
Message-ID: <3B8EFF8B.F6DF5A90@bcbdev.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b88fdf0$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,15569c6db2db3bc8
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-30 20:08:35 PST
Message-ID: <3B8EFF8B.F6DF5A90@bcbdev.com>
Date: Thu, 30 Aug 2001 22:07:55 -0500
From: "Harold Howe (TeamB)" <hhowe@bcbdev.com>
X-Mailer: Mozilla 4.03 [en] (WinNT; I)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: How to find if a table column is null allowed or not ?
References: <3b88fdf0$1_2@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.22.227.236
X-Trace: dnews 999227201 24.22.227.236 (30 Aug 2001 20:06:41 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews