I want to run trigger multiple time using for loop inside data set of report can I do that? Please reply me I am hoping your help (I have added screen shot) i have provided code also
report 50136 "outstanding report details" { UsageCategory = ReportsAndAnalysis; ApplicationArea = All; DefaultLayout = RDLC; RDLCLayout = 'outstandingreportdetails.rdl'; dataset { dataitem(DataItemName; ExperimentTable) { column(CustomerId; "CustomerId") { } column(OutstandingBalance; "OutstandingBalance") { } for j := 1 to 4 do trigger OnAfterGetRecord() var OutstandingBalaneList: List of [Decimal]; i: Integer; begin OutstandingBalaneList.Add(5000.0); OutstandingBalaneList.Add(6000.0); OutstandingBalaneList.Add(7000.0); OutstandingBalaneList.Add(8000.0); for i := 1 to 4 do if check = true then if OutstandingBalance <> OutstandingBalaneList.Get(i) then CurrReport.Skip(); end; } } requestpage { layout { area(Content) { group(options) { Caption = 'Options'; field("UserEnterdOutBal"; UserEnterdOutBal) { Caption = 'Amount LKR Greater than'; ApplicationArea = All; } field("check"; check) { Caption = 'Need to group'; ApplicationArea = All; } } } } // actions // { // area(processing) // { // action(ActionName) // { // ApplicationArea = All; // } // } // } } var UserEnterdOutBal: Decimal; check: Boolean; j : Integer; }