3

3. Specific Filter, Grouping and/or Ordering
When you need to filter the data from the current screen (for example, only the current company's records - see frmCadCLIENTES ) you add the information:
ed_Where_Search.Text := '' ; // WITHOUT THE WHERE CLAUSE
When you need to group some information in the standard grid search, define the field:
ed_Groupby_Search.Text := ''; // WITHOUT THE GROUP BY CLAUSE
ed_Having_Search.Text := ''; // WITHOUT THE HAVING CLAUSE
When you need to sort the default search on the grid, define the field:
ed_Order_Search.Text := ''; // SEM A Cláusula ORDER BY
Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor