🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TAdoDataset and required property

#678
From: Cabrera
Date: Thu, 23 Feb 2006 15:06
14 lines
1438 bytes
Report #:  6264   Status: Reported "Required" property of TFieldDef of an ADO dataset is always false.
...
        if (((adFldUpdatable+adFldUnknownUpdatable) and F.Attributes) = 0) or
           (FieldType = ftAutoInc) then
          Attributes := Attributes + [faReadOnly];

{*******Start of new code********}
        if (((adFldIsNullable+adFldMayBeNull) and F.Attributes) = 0) then
          Attributes := Attributes + [faRequired];

I changed  the procedure TCustomADODataSet.InternalInitFieldDefs in Cbuilder6\source\vcl\ADODB.pas as Report 6264
And loaded in same folder, but it is not work right
What it is wrong?
Technical Details
Message-ID: <43fddd71$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,9c6aba673ecb0279,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Cabrera" <ivette.garrido@biesenbruch.de>
Sender: "Cabrera" <ivette.garrido@biesenbruch.de>
Reply-To: "Cabrera" <ivette.garrido@biesenbruch.de>
Subject: TAdoDataset and required property
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 82.207.235.146     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43fddd71$1@newsgroups.borland.com>
Date: 23 Feb 2006 08:06:09 -0700
X-Trace: newsgroups.borland.com 1140710769 207.105.83.66 (23 Feb 2006 08:06:09 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail