Autor Beitrag
rob87
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 461

Win Me, Win XP Home, Win XP Prof
Delphi 2007 Enterprise
BeitragVerfasst: Mi 05.09.07 14:48 
Hallo,

mein Delphi bringt beim Schreiben in eine neu angelegte Tabelle die Meldung:
[b]<Tabellenname> Datenmenge weder im Editier- noch im Einfügemodus[/]

Ich arbeite mit der Database Workbench 2.8.8b Pro. Wer kann mir helfen??
Mike19
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 256

Win XP, Vista, Win 7
Delphi 2005, Turbo Delphi
BeitragVerfasst: Mi 05.09.07 15:17 
Hallo,

ist die Table auf Active:=True und Table.Append oder Table.Insert gesetzt ?
rob87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 461

Win Me, Win XP Home, Win XP Prof
Delphi 2007 Enterprise
BeitragVerfasst: Mi 05.09.07 15:38 
Ja. Nun schon.

Er meckert nun nicht mehr. Schreibt mir aber trotzdem nichts in meine Database.

Ich konvertiere Die Werte zum Speichern zum Dateityp Integer. In der Database ist bei der Spalte allerdings SmallInt eingestellt. Könnte das auswirkungen haben?
Mike19
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 256

Win XP, Vista, Win 7
Delphi 2005, Turbo Delphi
BeitragVerfasst: Mi 05.09.07 19:23 
Du musst schon das Gleiche Format bei der Zuweisung zur Datenbank haben

z.B. Table1.FieldByName('...').AsInteger:=StrToInt(Edit1.Text)


schau Dir mal die Umwandlung der Formate an.
rob87 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 461

Win Me, Win XP Home, Win XP Prof
Delphi 2007 Enterprise
BeitragVerfasst: Fr 07.09.07 11:19 
Fehler behoben.


Hab nur den Befehl Tabelle.Post vergessen ;-)