I have looked up many examples and concocted the following code which is under a command in a form.
I would like this command to print the current record in the form as a report.
However, when it prints, the report template is there..but the data is not.
What could I be doing incorrectly...