Learn Microsoft Access Advanced Programming Techniques, Tips and Tricks.

MS-Access and Mail Merge

Introduction

Address Labels

When we talk about Address Labels, Form Letters, Mail Merge, and so on, the name that comes into our mind is MS Word, loaded with plenty of functions for the above tasks. It needs a database to provide source data for address labels, Form Letters, etc. We can prepare a Table in Word Document and use it for Addresses or attach one from Microsoft Access or other database sources.

Here, we are not going to use MS Word for Address Labels, Form Letters, and Mail Merge operations, we will do it with MS Access. Yes, we will try Mail Merge also.

We may not be able to do fancy paragraph formatting as we do in Word, but preparing Form Letters in Access is important in situations like reporting of Agency Agreement Renewals, Bank Guarantee Renewal Reminders or Department-wise Monthly Stationery Expenses or Telephone Expenses for review, etc., and needs only one or two standard paragraphs combined with the actual statement, which we can quickly put on the print within no time.

Designing the Address Labels.

We will start with the simple task, Designing the Address Labels. MS-Access has a built-in Label Wizard, which we can use for quick designing of Address Labels of various sizes and shapes. MS-Access has plenty of predefined Label Sizes of different Manufacturers to select from. This is good when hundreds or thousands of labels are needed on continuous stationery, in predefined sizes.

But, ordinary people like me who would like to print on plain paper, or cut and paste on envelopes can try the manual method.

A sample image of the output created from a manually designed Address Label is shown below and we will go through the procedure that needs to prepare them:


The Design Task

  1. Import the Employees Table from the Northwind.mdb sample database, if you have not done it so far for our earlier sessions. Refer to my earlier post

    Saving Data on Forms, not in Table for the exact location reference of the sample file.
  2. Select the Employees Table and select

    Report from Insert Menu and select Design View.
  3. Go to the View menu and remove the checkmark from Page Header / Footer and Report Header / Footer options to remove them from the report design, if they are visible.

  4. Draw a Text Box approximately 3.25"' wide at the top and left area of the Detail Section leaving enough space for the border as shown in the design given below: /p

  5. Display the Property Sheet of the TextBox from the View menu and set the Special Effect Property = Chiseled. If you don"t like the underlined design, stay with the Flat property setting.

  6. Write the expression as shown above in the Control Source Property. The partially visible field is [LastName]); don"t forget the closing brackets.

  7. Copy the same Text Box Paste it four times down and write the expression as shown above.

  8. Select all the five Text Boxes together. Select Vertical Spacing - - > Decrease from Format Menu. Repeat the process till all the TextBoxes come close together.

  9. Draw a Rectangle around the TextBoxes. If the Rectangle hides the TextBoxes then select Transparent from the Fill/Back Color Toolbar Button. When the Label is cut from plain paper the Border will give the label a proper shape even if the cutting is not.

  10. Now, we must go to the final settings on the Page Setup Control. Select Page Setup from File Menu.

  11. Select the Columns Tab.

  12. Change the Number of Columns to 2.

  13. Column Spacing change to 0.15"

  14. In Column-Size control puts a checkmark in the Same as Detail, if it is not already there.

  15. Column Layout: Across, then Down.

  16. Click OK and save the Report with the Name: Address Labels.

  17. Open the Report in Print Preview, it should look like the sample given at the top of this page.

Next, we will look into setting up and Printing Form Letters.

Share:

2 comments:

  1. Hi there,

    Nice stuff you got, very interesting to read.
    Well, I do have also in my sleeves, if you have time don't forget to visit

    bookoftips.blogspot.com

    Many thanks

    ReplyDelete
  2. Would someone please tell me how to get Access 2007 to print a few hundred address labels on non-Avery continuous (fanfold) stationery? The sheet is 210mmx305mm, the labels are 89mmx36mm, 1 label across, 7 down. Single labels print perfectly; any more, and Access just chucks one out now & then, each a few pages apart!

    ReplyDelete

Comments subject to moderation before publishing.

PRESENTATION: ACCESS USER GROUPS (EUROPE)

Translate

PageRank

Post Feed


Search

Popular Posts

Blog Archive

Powered by Blogger.

Labels

Forms Functions How Tos MS-Access Security Reports msaccess forms Animations msaccess animation Utilities msaccess controls Access and Internet MS-Access Scurity MS-Access and Internet Class Module External Links Queries Array msaccess reports Accesstips WithEvents msaccess tips Downloads Objects Menus and Toolbars Collection Object MsaccessLinks Process Controls Art Work Property msaccess How Tos Combo Boxes Dictionary Object ListView Control Query VBA msaccessQuery Calculation Event Graph Charts ImageList Control List Boxes TreeView Control Command Buttons Controls Data Emails and Alerts Form Custom Functions Custom Wizards DOS Commands Data Type Key Object Reference ms-access functions msaccess functions msaccess graphs msaccess reporttricks Command Button Report msaccess menus msaccessprocess security advanced Access Security Add Auto-Number Field Type Form Instances ImageList Item Macros Menus Nodes RaiseEvent Recordset Top Values Variables Wrapper Classes msaccess email progressmeter Access2007 Copy Excel Export Expression Fields Join Methods Microsoft Numbering System Records Security Split SubForm Table Tables Time Difference Utility WScript Workgroup database function msaccess wizards tutorial Access Emails and Alerts Access Fields Access How Tos Access Mail Merge Access2003 Accounting Year Action Animation Attachment Binary Numbers Bookmarks Budgeting ChDir Color Palette Common Controls Conditional Formatting Data Filtering Database Records Defining Pages Desktop Shortcuts Diagram Disk Dynamic Lookup Error Handler External Filter Formatting Groups Hexadecimal Numbers Import Labels List Logo Macro Mail Merge Main Form Memo Message Box Monitoring Octal Numbers Operating System Paste Primary-Key Product Rank Reading Remove Rich Text Sequence SetFocus Summary Tab-Page Union Query User Users Water-Mark Word automatically commands hyperlinks iSeries Date iif ms-access msaccess msaccess alerts pdf files reference restore switch text toolbar updating upload vba code