I am trying to pass some separate variable values to a report on a page so it can do a comparison.
Report: 50107 Variables:
BOMfilter
fromVersion
toVersion
My page code currently can pull one report value in another method.
PrintLatestVersionBOM - OnAction()
IF ActiveVersionCode<>’’ THEN
BEGIN
CLEAR(BOMVersion);
BOMVersion.SETFILTER(“Production BOM No.”,“No.”);
BOMVersion.SETFILTER(“Version Code”,ActiveVersionCode);
BOMVersion.FIND(’-’);
VersionBOMReport.SETTABLEVIEW(BOMVersion);
VersionBOMReport.RUN;
END
ELSE
MESSAGE(txt50000, “No.”);
I am unaware how to set all of the multiple variables to pass them correctly. What is the most efficient way to do this?
thanks!