Thema: Delphi Frage zu RequestLive

Einzelnen Beitrag anzeigen

Gambit

Registriert seit: 28. Mai 2003
680 Beiträge
 
Delphi 7 Professional
 
#1

Frage zu RequestLive

  Alt 5. Jun 2003, 23:12
Warum klappt folgendes bzw, warum ändert RequestLive hier seinen Wert wenn es vorher auf false stand

Delphi-Quellcode:
Query1.RequestLive := true;
Query1.Active := false;
Query1.SQL.Strings[1]:= '';
Query1.Active := true;
Und hier nicht

Delphi-Quellcode:
Query1.RequestLive := true;
Query1.Active := false;
Query1.SQL.Strings[1]:= 'order by Name';
Query1.Active := true;
Gruß

Gambit

P.S anders herum gehts, wenn vorher RequestLive auf true steht, kann man:

Delphi-Quellcode:
Query1.RequestLive := false;
Query1.Active := false;
Query1.SQL.Strings[1]:= 'order by Name';
Query1.Active := true;
und es funzt.
  Mit Zitat antworten Zitat