Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure TForm1.DBGrid1TitleClick(Column: TColumn);
- begin
- ADOQuery1.Sort:=Column.Field.FieldName+' DESC'; //ASC | DESC по убыванию
- //ADOQuery1.Sort := '['+ Column.FieldName + '] DESC';
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement