CODE
WDS_Spelare.Edit;
WDS_Spelare.Append; It is here the error message appears
TABLE WDS_Spelare
ERROR MESSAGE Field Dummy is required, but not supplied
CODE
WDS_Spelare.Edit;
WDS_Spelare.Append; It is here the error message appears
TABLE WDS_Spelare
ERROR MESSAGE Field Dummy is required, but not supplied
Do you have more details?
Is this in connection with a TWebDBTableControl?
Were all fields, i.e. also field Dummy added as persistent fields to the dataset?
This is how it is created when imported with aurelius
[Entity]
[Table('inkaplayer')]
[UniqueKey('Speldatum')]
[Id('FDummy', TIdGenerator.IdentityOrSequence)]
Tinkaplayer = class
private
[Column('Dummy', [TColumnProp.Required, TColumnProp.NoInsert, TColumnProp.NoUpdate])]
FDummy: Integer;
This is the fields in WDS_Spelare
No TWebDBTableControl
Set the Required
property of Dummy
field to False
.
When creating the database with HeidiSQL it is not possible to set an AUTO-INCREMENT field to accept NULL