 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Cabrera Guest
|
Posted: Thu Feb 23, 2006 9:03 am Post subject: Required Property |
|
|
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’s not work right
What it’s wrong? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|