Envelope from Access data

D

David Sherman

I need to create single envelopes from an Access table.

Is there any way to do this?

thanks
 
C

Cybercow

Yes, there is a way to do that. First create and format a report that will
properly reflect the size and layout of your envelope. You can then use the
following code (from http://www.mvps.org/access/reports/rpt0002.htm) to send
the one record (from a form) to that report.

Dim strDocName As String
Dim strWhere As String
strDocName = "rptSomeReport"
strWhere = "[RunID]=" & me!RunID
DoCmd.OpenReport strDocName, acPreview, , strWhere

hope this helps
 

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

Top