You are on page 1of 1

ADOQuery1.

Close;
ADOQuery1.SQL.Clear;
ADOQuery1.SQL.Add('select * from peminjam where kd_peminjam ='''+DBLookupComboBo
x1.Text+''''','+DateToStr(DateTimePicker1.Date)+'''');
ADOQuery1.Open;
QuickReport1.ADOQuery1.Active:=False;
QuickReport1.ADOQuery1.Active:=True;
QuickReport1.Preview;

You might also like