Search Results for

    Show / Hide Table of Contents

    VirtualDataTableState.MoveMasterRecord Method

    This method will be called each time that the master datasource moves its position. Use it to filter the data returned if this is used on a master-detail relationship.

    Remarks

    You do not need to implement this method if you are not using Master-Detail or Split relationships.

    Syntax

    Namespace: FlexCel.Report

    public virtual void MoveMasterRecord(TMasterDetailLink[] masterDetailLinks, TSplitLink splitLink)

    Parameters

    <-> Parameter Type Description
    masterDetailLinks TMasterDetailLink[] 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.
    Use it on GetValue(Int32) to filter the data and then return only the records that satisfy the master-detail relationships on GetValue(Int32)
    splitLink TSplitLink Parent Split table if this dataset is on a Split relationship, or null if there is none.
    Use it to know how many records you should retun on RowCount. Note that a table might be on Master-Detail relationship *and* split relationship. In this case you need to first filter the records that are on the master detail relationship, and then apply the split to them.

    See also

    • VirtualDataTableState
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com