RE: How do I set a filter based on selected row
Your answer helped me find the complete solution. Thank you!
I had to:
1. add the following code to the <Adeverinta> - OnAction() trigger.
YourTable.RESET;
YourTable.SETRANGE(TheTableYouGetDataFrom."FieldName", "FieldName");
IF YourTable.FINDFIRST THEN BEGIN
YourReportSETTABLEVIEW(YourTable);
YourReport.RUN;
END;
2. set the RunObject property of <Adeverinta> to <Undefined>.
3. Create the following variables in Page 5200 Employee Card:
Name DataType SubType
YourReport Report <Select the report you want from the list>
YourTable Record <Select the table you want from the list>
PS: I think <Adeverinta> is the name of the button that creates the report.