Hi everyone,

DF19.1
DR7.0

Believe it or not, I've been playing around with this all day.

I simply wish to display the user selected criteria at the end of the report. Strangely, it does exactly what I want it to do, and yet I get an error just prior to the report displaying on the screen.

Click image for larger version. 

Name:	Annotation 2019-08-15 174209.jpg 
Views:	38 
Size:	19.4 KB 
ID:	13015

Code:
This is in the DF side of the report:
WebGet psValue of oFromPILOTID to sFromVal
WebGet psValue of oToPILOTID to sToVal
Set psFilterFunction sReportId to ("Id - From" * sFromVal * "to" * sToVal)

This is in a DR using a function called FilterFunction, as per the example given in OrderList.dr
let s = {&Filter Function}
return (s)

This is what is printed which is correct, so why the error???:
Id - From 38 to 67