dave said:
How do I print a form (not a report)?
And can I "Not Print" some items on the form?
You can print a form, but all kinds of issues like the background color,
buttons, page margins, page headings, page number (I could type on for a
VERY long time) comes into effect when you have to print a form.
forms = data entry
reports = printing.
You can set each control on a form's property sheet (the "display when"
setting on the format tab). This will allow you to set "screen only", and
thus the control will not print when you print the form. However, I consider
this bad advice, and I do strongly recommend you use a report for
printing..it just designed for such.
To print only the current record to a report, you code behind a button is:
' first write data to disk for report..
if me.dirty = true then
me.dirty = false
end if
docmd.OpenReport "name of report"