1. Set the RequiredFields option of the TUniTable component to True before opening it
Code: Select all
tblPatients.Options.RequiredFields := False
2. Set the Required property of the particular field to True after opening the table
Code: Select all
tblPatients.FieldByName('ptient_id').Required := False