Last active
April 29, 2021 19:55
-
-
Save JTheiller/2c05f3bdfb010499e06faf289216197c to your computer and use it in GitHub Desktop.
FastReport - GetDataSet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//With Band | |
procedure Page1OnBeforePrint(Sender: TfrxComponent); | |
begin | |
DBXQuery1.Master := MasterData1.DataSet; | |
end; | |
//Direct DataSet | |
procedure Page1OnBeforePrint(Sender: TfrxComponent); | |
begin | |
DBXQuery1.Master := Report.GetDataSet('Customers'); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment