Correct date preview correct but printed as #Name?

R

Rui Santos

I everybody,
I would like to know if anyone can explaine me why in a report preview the
correct control values are shown but when printed those controls are showned
as #Name?.
The report runs after an unbound form ask the user for a date range (inicial
and end date).

Thanks
 
A

Allen Browne

Access runs the entire report again for print after the preview. If the form
has been closed by that time, it will give you the #Name error.

Leave the form open. If necessary, set its Visible property to False.
 
Top