Guest User

Untitled

a guest
Jun 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.33 KB | None | 0 0
  1.     DM.sqlConsulta.Close;
  2.     DM.cdsConsulta.Close;
  3.     with DM.sqlConsulta do
  4.     begin
  5.       Close;
  6.       CommandText :=
  7.         'select * from PESSOAL_PES where pes_tipo = ' + QuotedStr('CL') +
  8.         ' order by pes_nome';
  9.       ExecSQL(False);
  10.       Open;
  11.     end;
  12.     DM.sqlConsulta.Open;
  13.     DM.cdsConsulta.Open;
Add Comment
Please, Sign In to add comment