Table of Contents

TTMSFNCPlannerDatabaseAdapter.OnFieldsToResource Event

Fires when reading the resource position from the dataset; use this to convert a non-integer resource field to a zero-based position index.

API unit family: TMSFNCPlannerDatabaseAdapter Declaring type: TTMSFNCPlannerDatabaseAdapter

Syntax

OnFieldsToResource: TTMSFNCPlannerDatabaseAdapterFieldsToResourceEvent;

Parameters

Name Description
Sender Database adapter that is reading the resource value.
AFields Dataset fields available for custom value reading.
AColumnField Dataset field mapped to the resource column.
AResource Receives the zero-based resource position.
AAcceptItem Set to False to skip the item for the current resource mapping.