I have a form in which a record is being displayed. When i want to print it it prints tha whole thing incuding the buttons and user interface stuff. I only want to print the contents of the record.
MIght be better to do a report with the fields on it, pointing to the underlying recordset of the form, so that it shows the current record that the form is showing. Then have a Print button on your form and in it use OpenReport with the acPrint parameter. This prints the report without it coming up on the screen. Have fun! )
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.