how to get record

Hi,
In DataItem OnAfterGet Report trigger How to get the other table record.

Define another table as record variable and set range with data item and extract the data as per your requirement.