Table of Contents

TTMSFNCPlannerDatabaseAdapter.OnItemCreateDBKey Event

Fires when the adapter needs to create a unique DBKey for a new item; override when AutoIncrementDBKey does not fit your key strategy.

API unit family: TMSFNCPlannerDatabaseAdapter Declaring type: TTMSFNCPlannerDatabaseAdapter

Syntax

OnItemCreateDBKey: TTMSFNCPlannerDatabaseAdapterItemCreateDBKeyEvent;

Parameters

Name Description
Sender Database adapter that is creating the key.
AItem Planner item that needs a database key.
ADBKey Receives the database key value to store.