Advantage Extended Procedures - TDataSet Descendant Tutorial

Advantage Concepts

This tutorial will guide you, step-by-step, through the process of creating and debugging an Advantage Extended Procedure if using the Advantage TDataSet Descendant.

Important All of the tasks in this tutorial must be completed or the tutorial application will not work correctly.

For consistency, the following notation will be used in instructions to modify properties in the Delphi Object Inspector:

Object Inspector:

  Property - new value for property

  Property - new value for property

  etc…

After adding a component in any of the instructions, press [F11] to activate the Delphi Object Inspector and change the specified properties. Only properties that need to be changed from their default value will be included in the property list.

Task 1: Copy Test Data and Application

Task 2: Create Your AEP Source File

Task 3: Define Your AEP EntryPoint

Task 4: Add Startup and Shutdown Functions

Task 5: Implement Your Procedure Logic

Task 6: Register Your Procedure in the Data Dictionary

Task 7: Test Your Procedure