Delphi. FireDAC. FastReport. MasterDetail. Example from project

qSelectEventUsers – 1st query

Note: we use UsersID, eventsID as field alias

setup DataSource

qSelectEventUsersElements – 2d query

Note: we use UsersID, eventsID as param

setup 2-d query

setup FastReport components

frxDBDataset_qSelectEventUsers

DataSet:=DS_EventUsers

UserName:=frxDBDataset_qSelectEventUsers

frxDBDataset_qEventUserElements

DataSet:=qSelectEventUsersElements

UserName:=frxDBDataset_qEventUserElements

In frxReport enable DataSets and use fields…

This entry was posted in Delphi. Bookmark the permalink.