Einzelnen Beitrag anzeigen

TigerLilly

Registriert seit: 24. Mai 2017
Ort: Wien, Österreich
1.211 Beiträge
 
Delphi 11 Alexandria
 
#13

AW: Tabellenfeld NOT NULL erkkennen

  Alt 27. Mai 2021, 10:05
Required ist das was du brauchst:
Code:
TABSAdvFieldDef.Required

Indicates whether a value for the physical field in the underlying table is required.

property Required: Boolean;

Description
Use Required to find out if a field in a dataset must have a value. If Required is True, the field must have a value. If Required is False, the field can be left blank.

When adding field definitions to a dataset, set Required to specify whether blank values for the new field should be prohibited.

https://www.componentace.com/help/ab...properties.htm
..
https://www.componentace.com/help/ab...defs_items.htm
..
https://www.componentace.com/help/ab...dvfielddef.htm
..
https://www.componentace.com/help/ab...f_required.htm
  Mit Zitat antworten Zitat