Einzelnen Beitrag anzeigen

Cuchulainn

Registriert seit: 26. Aug 2003
182 Beiträge
 
Delphi 5 Enterprise
 
#22

Re: wie schreibe ich daten in eine paradox7 tabelle?

  Alt 9. Mär 2004, 12:19
Versuch es mal damit:

Delphi-Quellcode:
Sql.Add('Insert into "' + StrTable + '" (Ort , Datum , Name, Bahn1, Bahn1Ab, Bahn1Drops, Bahn2,
'Bahn2Ab, Bahn2Drops, Bahn3, Bahn3Ab, Bahn3Drops, Bahn4, Bahn4Ab, Bahn4Drops, GesDrops, GesSL, GesGT, GesEL, Gesamt) values ('
+ ComboBox2.Items.Strings[ComboBox2.ItemIndex] +
', ' + DATUM + ', ' +
ComboBox1.Items.Strings[ComboBox1.ItemIndex] +
', ' + IntToStr(wupb1) + ', ' +
wupb1ab +
', ' + IntToStr(wupb1d) + ', ' + IntToStr(wupb2) + ', ' + wupb2ab + ', ' +
IntToStr(wupb2d) +
', ' + IntToStr(wupb3) + ', ' + wupb3ab + ', ' + IntToStr(wupb3d) + ', ' +
IntToStr(wupb4) +
', ' + wupb4ab + ', ' + IntToStr(wupb4d) + ', ' + IntToStr(wupgesd) + ', ' + GesSL
+
', ' + ', ' + GesGT + ', ' + ', ' + GesEL + ', ' + IntToStr(wupges) + ')');
  Mit Zitat antworten Zitat