Search Results for

    Show / Hide Table of Contents

    TVirtualDataTableState.FilteredRowCount Method

    This method will be called when a Split master wants to know how many records its detail has. For example, if the detail has 30 records and the split is at 10, the Split master will call this method to find out that it has to return 3 on its own record count. You need to filter the data here depending on the master detail relationships, but not on the splitLink.

    Remarks

    You do not need to implement this method if you are not using Split relationships.

    Syntax

    Unit: FlexCel.Report

    function TVirtualDataTableState.FilteredRowCount(const masterDetailLinks: TArray<TMasterDetailLink>): Integer; virtual;

    Parameters

    <-> Parameter Type Description
    const masterDetailLinks TArray<​TMaster​Detail​Link> List of all the master tables that are related to this one.
    If there are no parents on this VirtualDataTableState, this will be an empty array, not null.

    Returns

    The count of records for a specific position of the master datasets.

    See also

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