Does anyone knows why?
Thanks,
Rui Ferreira
That property does not propagate from the database to the Tfields.
If you want to use it you will have to set it.
--
Brian Bushay (TeamB)
Bbu...@NMPLS.com
This is a bug in ADO-Express.
Unit ADODB.PAS (line 3560ff)
{ Determine if the field's property list contains an ISAUTOINCREMENT
entry }
procedure AddFieldDef(F: Field; FieldDefs: TFieldDefs);
var
FieldType: TFieldType;
FieldDef: TFieldDef;
I: Integer;
FName: string;
FSize: Integer;
FPrecision: Integer;
begin
FieldType := ADOTypeToFieldType(F.Type_, EnableBCD);
if FieldType <> ftUnknown then
begin
FSize := 0;
FPrecision := 0;
FieldDef := FieldDefs.AddFieldDef;
// ****Bug Fix A. Schmidt 23.10.2001****
FieldDef.Required := (F.Attributes and adFldIsNullable)=0;
greetings
Andreas
--
Database Explorer for ADO (Freeware)
http://www.tobilan.de/adodeskexe.zip
Rui Ferreira
"Andreas Schmidt" <a_j_s...@rocketmail.com> wrote in message
news:3c8cd7ef_1@dnews...