Printing one envelope?

K

klack

How do you print one envelope from a database of names and
addresses in Access? I can print labels, I can create sub
groups of data, but cannot figure out how to print one
envelope from the list.
 
R

Richard

Do you have a form that can display the one address you need on the
envelope?

Richard
 
G

Guest

I am attempting to do same thing. I am able to PrintPreview, but when I click
Print it print all 168 records.
I need to know how to print one envelope for the record I am viewing.
Thanks.
Joan
 
A

Alfred

Do something like this
You must replace employeeNo with your unique identifying number or sting

Dim stLinkCriteria As String
stLinkCriteria = "[EmployeeNo]=" & Str(Nz(Me![EmployeeNo], 0))
Dim stDocName As String

stDocName = "EmpPayRpt" ' your report name
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
Alfred
 
G

Guest

Yes. The following is the code that allows everything to happen except for me
the option to select the printing of an envelope for the record I am viewing.

stDocName = "Envelope"
DoCmd.OpenReport stDocName, acViewPreview
Any help appreiciated. Joan
Alfred said:
Do something like this
You must replace employeeNo with your unique identifying number or sting

Dim stLinkCriteria As String
stLinkCriteria = "[EmployeeNo]=" & Str(Nz(Me![EmployeeNo], 0))
Dim stDocName As String

stDocName = "EmpPayRpt" ' your report name
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
Alfred


JoanOC said:
I am attempting to do same thing. I am able to PrintPreview, but when I
click
Print it print all 168 records.
I need to know how to print one envelope for the record I am viewing.
Thanks.
Joan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Envelope Font 1
Would someone please explain this to me 3
How do I set up and print one envelope ? 1
Printing envelopes 2
Label format 1
envelope 1
envelope printing problems 1
envelope tools window incorrect 1

Top