Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages
Started by Cabrera
Thu, 23 Feb 2006 15:06
TAdoDataset and required property
Author: Cabrera
Date: Thu, 23 Feb 2006 15:06
Date: Thu, 23 Feb 2006 15:06
14 lines
1438 bytes
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?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads