I realize that. This form displays the results of a query that shows audits
performed on processed claims. The form displays one record at a time and
sometimes they print the record. Rather than design a report that displays
the the data from the form (they are used to the format) I had hoped to just
add a couple lines to switch the backcolor of the form to white so they don't
burn off toner.
I have a major overhaul of this thing to do and thought this would be the
easiest fix. Is there a way to change the backcolor to white before they
print it?
The best way is to simply save the form as a report (one time).
Right-click on the form name (on the database folder).
Select "Save as Report".
Change the report back color to white.
Add a command button to the regular form.
Code it's click event:
DoCmd.OpenReport "ReportName", acViewPreview, , "[RecordID]= " &
Me![RecordID]
The above assumes that the query has returned a record which has a
unique prime key number.
The report will print with the white background, just the record shown
on the form at that moment.
If you wish to print the report with out preview, delete acViewPreview
but retain the comma.
Reports have the capability of retaining margin and layout settings,
which form printing does not.