unit UnitLX;interfaceuses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ComCtrls;type
  TForm1 = class(TForm)
    cbb1: TComboBoxEx;
    lst1: TListBox;
    btn1: TButton;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;var
  Form1: TForm1;implementation{$R *.dfm}
uses Unit1;procedure TForm1.FormCreate(Sender: TObject);
begin
  with dtmdl1 do
  begin
     qry1.Close;
     qry1.SQL.Clear ;
     qry1.SQL.Add('select * from RIS_SRUDIES');
     qry1.Open ;
  end;
end;end. 
运行后报错 图空间