Search Results for

    Show / Hide Table of Contents

    TVirtualDataTable.CreateState Method

    Creates a VirtualDataSetState to be used in a report. Make sure you override this method on your derived classes and point it to the correct VirtualDataSet descendant.

    Syntax

    Unit: FlexCel.Report

    function TVirtualDataTable.CreateState(const sort: string; const masterDetailLinks: TArray<TMasterDetailLink>; const splitLink: TSplitLink): TVirtualDataTableState; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const sort string A string showing how to sort this dataset. This string might be null, empty, or whatever the user wrote on the config sheet.
    const masterDetailLinks TArray<​TMaster​Detail​Link> A list of the the master datatables and relation fields on the bands outside this one.
    You can pass this parameter to the VirtualDataSetState so it can create indexes on the required fields.
    This parameter will be an empty array if no master detail relationships apply to the VirtualDataSetState, but it will not be null.
    const splitLink TSplitLink A link to a parent Split datasource with the number of records to split, or null if there is no parent split datasource.

    See also

    • TVirtualDataTable
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com