Autor Beitrag
Alibi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Fr 11.04.03 15:40 
Hi,
in dem Borland Tool Datenbankoberfläche ist beim erstellen der Datenbankstruktur einer Paradox7 Tabelle so eine nette Checkbox "Eingabe erforderlich".
Wie kann ich diese Eigenschaft mittels LocalSQL setzen?
Also
ausblenden Quelltext
1:
2:
3:
    sql := 'CREATE TABLE "' + Table3.FieldByName('id').AsString + '.db"'+
            '(id AUTOINC, PRIMARY KEY (id),'+
            'Name CHARACTER(255))';

Wie weiß ich dem Feld Name jetzt diese Eigenschaft zu?
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Fr 11.04.03 17:11 
Hi
mit NOT NULL

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
Alibi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458

Win2K SP3
Delphi 6 Ent
BeitragVerfasst: Fr 11.04.03 17:28 
Ah, thx. :)