the soucecode is:
  var
   strDate:string;
  
begin
  strDate:='1994-09-14';
  ADOQuery1.Close;
  ADOQuery1.SQL.Clear;
  ADOQuery1.SQL.Text:='Select * from sales where sele_Date='+strDate+'';
  ADOQuery1.Open;But This SouceCode cannot select any records(My database have some records which can beselected).someone knew this question?
In Borland C++Builder I use these SouceCode but no an problem//Bcb
String strString;
  strDate="1994-09-14";
  ADOQuery1->Close;
  ADOQuery1->SQL->Clear;
  ADOQuery1->SQL->Text:="Select * from sales where sele_Date='"+  strDate 
+ "'";
  ADOQuery1->Open;