- 1
- 2
- 3
- 4
- 5
- 6
- 7
case dlg.sort.ItemIndex of
0: Qry.SQL.Add('ORDER BY b.nn_rez;');
1: if dlg.view.ItemIndex=1 then Qry.SQL.Add('ORDER BY c.prod_code;')
else Qry.SQL.Add('ORDER BY c.kod_okp;');
2: if dlg.view.ItemIndex=1 then Qry.SQL.Add('ORDER BY c.res_name;')
else Qry.SQL.Add('ORDER BY c.naimres;');
end;
Комментарии (2) RSS
Добавить комментарий