Thema: Delphi SQL Insert Into Problem

Einzelnen Beitrag anzeigen

renekr

Registriert seit: 27. Feb 2005
Ort: Karlsbad
534 Beiträge
 
Delphi 2007 Enterprise
 
#11

Re: SQL Insert Into Problem

  Alt 15. Feb 2006, 08:08
Guten Morgen.
Also entweder bin ich zu dumm oder kapier es nicht.

Delphi-Quellcode:
ADOCommand1.CommandText:='insert into test values (:str )';
ADOCommand1.parameters.ParamByName('str').Value := teststring;
ADOCommand1.Execute;
da schmiert er mir ab beim Adocommand1.commandtext setzen ,mit:

Application uses a value of the wrong type for the current operation.


Ich habe den PArameter str im adocommand angelegt?
muß sonst noch was mache?


danke für eure Geduld.
  Mit Zitat antworten Zitat