Autor Beitrag
jjturbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 31.05.07 09:38 
Moin Forum,

ich möchte zur Laufzeit die Struktur einer Paradox-Tabelle ändern(Es soll ein Feld hinzugefügt werden).
Wie kann man das bewerkstelligen, ohne Datenverlust natürlich.
Und, wenn möglich ohne SQL.

Ich arbeite mit einer TTable-Komponente.

Danke im voraus, Oliver

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
ZeitGeist87
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1593
Erhaltene Danke: 20

Win95-Win10
Delphi 10 Seattle, Rad Studio 2007, Delphi 7 Prof., C++, WSH, Turbo Pascal, PHP, Delphi X2
BeitragVerfasst: Do 31.05.07 09:43 
Hallo!

Du möchtest eine Datenbank ohne SQL-Statement ändern?
Halt ich mal für ausgeschlossen..

Was stört dich denn an einem simplen Alter table TABELLENNAME add|modify| SPALTE TYP?

LG
Stefan

_________________
Wer Provokationen, Ironie, Sarkasmus oder Zynismus herauslesen kann soll sie ignorieren um den Inhalt meiner Beiträge ungetrübt erfassen zu können.
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 31.05.07 09:46 
Grundsätzlich spricht nichts gegen SQL.

Aber anlegen kann man die Tabelle doch auch ohne.
AddFieldDefs und CreateTable.
Ändern geht nicht über diesen Weg?

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...