There is no way to pass a parameter to a report. However, you have full access to anything that is visible at the time the report is run. For example, if you are in a form when you issue REPORT FORM, you may reference ThisForm.myProperty in the report. You may also reference any existing variables, call a UDF, or call a method on the form.
>Is there a good way to pass a value to a report?
>
>Say you want to print a string or variable in a report that cannot be created within the report, such as the name of the person who ran the report.
>
>I have been doing this by creating a public variable and then referencing the variable in the report form. However it seems to me that this is a clumsy way to approach this. Does anyone know of a better way? Is it possible to pass values to a report like we do with subroutines?
>
>- Don