R
Rodtnick
I have a report in a database where I use a toolbar with Print, Zoom and
Cancel on it. What's suppose to happen is that when I press the print
button it calls a function that will print the report then close it.
This is the Function:
Function PrintClose()
DoCmd.PrintOut
DoCmd.Close
End Function
But in this database (I have the same function in other databases) when
I click the Print button it does a screen print of all my records in the
database instead of printing that record and closing.
I call the Function with =PrintClose() in the On Action: property for
the button. I don't see any differences in the databases. Cal someone
help me?
Bruce Rodtnick
Cancel on it. What's suppose to happen is that when I press the print
button it calls a function that will print the report then close it.
This is the Function:
Function PrintClose()
DoCmd.PrintOut
DoCmd.Close
End Function
But in this database (I have the same function in other databases) when
I click the Print button it does a screen print of all my records in the
database instead of printing that record and closing.
I call the Function with =PrintClose() in the On Action: property for
the button. I don't see any differences in the databases. Cal someone
help me?
Bruce Rodtnick