Hello everyone,,
i'm trying to figure out how to set some fields in a TDbf table as mandatory. I supposed that the FieldDefs.Add function will do it, specifying the last parameter (Required) but nothing to do.
The fields are created but the Required flag is not set.
I've tried each dbf Level, from dBase III to FoxPro, but still not working.
Here's a sample of my code, what's wrong in it?
DbfFile.FieldDefs.Add('descr', 0, 7, True);