Advertisement
Guest User

Untitled

a guest
Jan 13th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.39 KB | None | 0 0
  1.    Form1.Query1.Close;
  2.    Form1.Query1.SQL.Clear;
  3.    Form1.Query1.SQL.Add('select Fio, Adres, Tel from  Pacient,Personal,Postupl');
  4.    Form1.Query1.SQL.Add('where Personal.Fio=:par and Personal.Kod_vr=Postupl.Kod_vr and Postupl.Kod_pac=Pacient.Kod_pac');
  5.    Form1.Query1.ParamByName('par').AsString:=Form5.edit1.Text;
  6.    Form1.Query1.Active:=true;
  7.    Form5.DBGrid1.DataSource:=Form1.DataSource5;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement