Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi DBChart und SQL Problem!! (https://www.delphipraxis.net/30119-dbchart-und-sql-problem.html)

Cancer 20. Sep 2004 12:15


DBChart und SQL Problem!!
 
Also ich wollte ein DBChart verwenden und dann das Chart mit SCQ-Anweisungen füttern, doch leider bekomm ich die Fehlermeldung "Keine SQL-ANweisung".

Also so sieht mein Code aus

Delphi-Quellcode:
procedure TFormStatistik.FormCreate(Sender: TObject);
begin
  DataModule2.QueryFormat.Active   := false;
Delphi-Quellcode:
procedure TFormStatistik.BitBtnStatClick(Sender: TObject);
begin
  if CheckBoxFormat.Checked then
  begin
    DataModule2.QueryFormat.Active      := True;
  end
  else
  begin
    DataModule2.QueryFormat.Active      := False;
  end;

Memo 20. Sep 2004 12:54

Re: DBChart und SQL Problem!!
 
Zitat:

Zitat von Cancer
SCQ-Anweisungen

Was sind SCQ-Anweisungen? Meinst du SQL?
Zitat:

Zitat von Cancer
"Keine SQL-ANweisung"

Es scheint als ob in Deiner Query kein SQL-Text enthalten ist. So macht ein Active natürlich keinen Sinn.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:31 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz