TrvrActionInsertTable.OnIsIDFieldName

<< Click to display table of contents >>

TrvrActionInsertTable.OnIsIDFieldName

The event where the user can identify "id" fields.

type
  TRVIsIDFieldNameEvent = procedure (Sender: TObject;
    const FieldName: TRVUnicodeString; 
    var IsID: Boolean) of object;

 

property OnIsIDFieldName: TRVIsIDFieldNameEvent;

When a list of fields is displayed for inclusion in a report table, all fields are selected by default, except for "id" fields (because normally they should not be shown to end-users).

By default, the action treats as "id" fields all fields with names that end with 'id' or 'code' (case insensitive). You can modify this behavior in this event.

Input parameters:

FieldName – field name.

Output parameters:

IsID – "is this an id-field?"