Friday, May 1, 2009

Advantage With Delphi 2009 – Part 3

Advantage with Delphi 2009 - Part 3 In the next part of our Advantage with Delphi 2009 Screencast series we are adding filtering and searching capabilities to the application. First we add a new editbox so users can enter a filter condition for the table. Clicking the SET button sets the user entered information to the filter condition and the table is filtered.

Another group box is added which contains two edit boxes allowing the user to enter a field and a condition. This information is used by the LOCATE command. The TAdsTable.Locate command determines the best way to find the specified data making it more efficient than a traditional ISAM locate. For example; if an index is available the Locate method will actually perform a seek.

The entire series will be posted in the Screencasts section of the DevZone. A list of all the individual screencasts is below:

  • Part 1 – Connecting and Viewing data
  • Part 2 – Inserting and Editing data
  • Part 3 – Filtering and Searching
  • Part 4 – Index Operations
  • Part 5 – Ranges and Seeks

You can also view the entire series on a single page.

No comments: