Thema: Delphi SQL-Befehl mit Edit-Text

Einzelnen Beitrag anzeigen

TypusMensch

Registriert seit: 29. Aug 2003
Ort: Goth-A
182 Beiträge
 
Delphi 7 Enterprise
 
#4

Re: SQL-Befehl mit Edit-Text

  Alt 29. Jun 2004, 08:31
hm....

warum nicht einfach zwei strings???

Delphi-Quellcode:
prozedure xxx.xxx(...);
var s1,s2:string;
begin
s1 := ...; //die eine variante
s2 := ...; // die zweite variante
if ... then qry_tmp.sql.Add(s1)
  else qry_tmp.sql.Add(s2);
end;
?!?
  Mit Zitat antworten Zitat