T
Tanya
I've created a macro to print a report based on the
current record in the form the user is currently on.I've
attached this macro to a print/command button on the form.
[PRIOR APPROVAL CONTACT INFO]![PA reference code]=[Forms]!
[PRIOR APPROVAL CONTACT INFO1]![PA reference code]
the first is the name of the table and the PA ref code is
a unique number. PA contact info1 is the name of the form.
the report prints out blank when you hit the command
button from the form but if I save the record and then go
back into it and click the print/command button the report
prints correctly with the info.
does anyone know why this will not print the current info
that the user has just entered while still in the form. I
do not want the user to save and close the form and then
go back find that record and then print.
current record in the form the user is currently on.I've
attached this macro to a print/command button on the form.
[PRIOR APPROVAL CONTACT INFO]![PA reference code]=[Forms]!
[PRIOR APPROVAL CONTACT INFO1]![PA reference code]
the first is the name of the table and the PA ref code is
a unique number. PA contact info1 is the name of the form.
the report prints out blank when you hit the command
button from the form but if I save the record and then go
back into it and click the print/command button the report
prints correctly with the info.
does anyone know why this will not print the current info
that the user has just entered while still in the form. I
do not want the user to save and close the form and then
go back find that record and then print.