In your report add box just as you do for your field and in the expression put..
myUDF(myParameters)
Add the myUDF at the end of your main.prg so that it is available to the report. Or you can add this myUDF as a PRG in your project. myParameters can be a record value (field value) and the value is passed on to the myUDF prg.
myUDF prg shall return a value which the report will obtain. Set the boxes property in the report a charater type or suitable data type as returned by the UDF.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.