![]() |
Re: InsertSQL
Bringt leider nichts. Kommt die selbe Fehlermeldung...
|
Re: InsertSQL
Hallo!
Poste bitte mal die genaue Fehlermeldung, die Dir ausgegeben wird. Gruß Thomas |
Re: InsertSQL
Im Projekt reg.exe ist eine Exception der Klasse EDatabaseError aufgetreten. Meldung: 'Feld 'TMID' muss einen Wert haben'. Prozess wurde angehalten. Mit Einzelnen....
|
Re: InsertSQL
Hallo,
warum nimmst du nicht einfach .InsertSQL.ExecSQL. Heiko |
Re: InsertSQL
Warum machst Du das nicht so ?
Delphi-Quellcode:
[/quote]
procedure Add_New_Terminal(typ, Bez, Beschr :String);
begin with D_DataModule.DataSet do begin Insert; FieldByName ('TYP').AsString := typ; FieldByName ('BEZEICHNUNG').AsString := Bezeichnung; FieldByName ('BESCHREIBUNG').AsString := Beschr; Post; end; end; |
Re: InsertSQL
Habe es jetzt mit der IBQuery versucht. Jetzt klappts problemlos... Danke...;)
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:24 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz