Thema: Delphi Komma eingabe

Einzelnen Beitrag anzeigen

cell

Registriert seit: 5. Jul 2005
Ort: Ebensee
171 Beiträge
 
Delphi 4 Standard
 
#9

Re: Komma eingabe

  Alt 18. Jul 2005, 08:05
@sharky
das sind alles float zahlen!
wenn ich einen punkt eingebe dann sagt er mir dass das ein text ist, ich habs mal mit anführungszeichen probiert also so
Delphi-Quellcode:
var
   ant: string;
begin
     ant :='UPDATE ' + #39+ tabellennamez +#39;
     ant :=ant + ' SET ' + #39+ feldnamez +#39;
     ant :=ant + ' = ' + #39+ aenderungz +#39;
     if whereanweisungz <> 'then
        ant :=ant + ' WHERE ' + whereanweisungz;
     result:= ant;
end;
funktioniert aber auch ned

@woge
myQry.ParamByName(myParam).AsFloat := StrToFloat('3,44'); die zeile versteh ich ned
sry
  Mit Zitat antworten Zitat