<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=34083602&amp;blogName=LEARN+MS-ACCESS+TIPS+AND+TRICKS&amp;publishMode=PUBLISH_MODE_FTP&amp;navbarType=BLUE&amp;layoutType=CLASSIC&amp;searchRoot=http%3A%2F%2Fblogsearch.google.com%2F&amp;blogLocale=en_US&amp;homepageUrl=http%3A%2F%2Fwww.msaccesstips.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" allowtransparency="true" title="Blogger Navigation and Search"></iframe> <div></div>
www.msaccesstips.com

LEARN MS-ACCESS TIPS AND TRICKS


International Response Fund

LEARN MS-ACCESS TIPS AND TRICKS

↑ Grab this Headline Animator

Your Ad Here
Thursday, October 04, 2007

MS-Access and Mail Merge

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 in MS-Access. Yes, we will try Mail Merge too.

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.

We will start with the simple task, 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. This is good when hundreds or thousands of labels are needed on continuous stationery of predefined sizes.

But, ordinary people like me who would like to print on plain paper, 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:



Address Label Image


  1. Import the Employees Table from Northwind.mdb sample database, if you have not done so far for our earlier sessions. Refer 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 View menu and remove the check mark 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 border as shown in the design given below:




  5. Report in Design View

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

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

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

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

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

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

  12. Select the Columns Tab.






  13. Change Number of Columns to 2.

  14. Column Spacing change to 0.15”

  15. In Column Size control put check mark in Same as Detail, if it is not already there.

  16. Column Layout: Across, then Down.

  17. Click OK and save the Report with the Name: AddressLabels.

  18. 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.



Custom Menus and Tool Bars-2
Custom Menus and Tool Bars
Calendar and Toolbars
Animated Floating Calendar
Startup Screen Design

Labels:

2 Comments:

Blogger Support said…

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

October 10, 2007 11:08 AM  
Anonymous C W said…

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!

July 16, 2009 7:19 PM  

Post a Comment

Note:Comments subject to Review by Blog Author before displaying.

Links to this post:

Create a Link

<< Home


Creative Commons License
Learn MS-Access Tips and Tricks by msaccesstips.com is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 India License.



This Page is best viewed with 1280 x 1024 Resolution

   FEATURED LINKS
SITEMAP
Command Button Animation
3D Headings on Forms
MsgBox & Office Assistant
Reminder Ticker
MS-Access & E-Mails
Automated E-Mail Alerts
MsgBox with Options Menu
Colorful Command Buttons
Configure Lotus Notes
Alerts through Network
Running this site has become a costly affair as the revenue from Ads is not sufficient to support it. If you find these pages informative & useful and would like to extend a helping hand, then please do it here.





Link Back to us with this Button

Learn MS-Access

Copy and Paste this HTML Code in your Webpage


Add to Technorati Favorites

Programming Blogs - Blog Catalog Blog Directory
Powered by FeedBurner
Add to Google

Software
Computers blogs
TopOfBlogs




AddMe - Search Engine Optimization Submit Your Site Free!
Go BlogZ Ave Blogs
eBlogzilla Changing LINKS
LS Blogs Blogarama
blog search directory BlogUniverse
Find Blogs in Directory RSS Directory
blogskinny.com ShowcaseBlogs.com
Amfibi

Search Engine Optimization and SEO Tools
Dmegs Web Directory Takeaway for Sale Businesses For Sale
Free Submission Directory Free site submission

Free Listing
 





Free Page Rank Checker

AddThis Social Bookmark Button

Enter your email address:

Delivered by FeedBurner



Top Blogs


Microsoft Access is the Jewell among MS-Office suite of Applications. Its Security features are excellent and works fine in Network environment. MS-Access can link/upload data from any Data Source. Applications that you design should be user-friendly and visually pleasing too. Here I would like to share my experience in Microsoft Access Programming with you and I am sure that you will find them interesting too.

My Photo
Name: Ramachandran Pillai
Location: Cochin, India

I am not an Access Guru and not through MS-Access yet. More to learn and I don’t think that aspect has any end because others have their own style of using this tool. We can learn lot more tricks, other than what we already know, from others too. My programming skills in COBOL, BASIC, Turbo-C, dBase, FoxPro, Visual Basic & Basic HTML attained through self-learning. I wrote my first COBOL Program in 1975 for ICL1901, 3rd Generation Main Frame Computer. Worked as a Computer Operator (NCR VRX8555 Mainframe Machine upto 1990) with M/s. Y.B.A. Kanoo, Saudi Arabia. Started using MS-Access Ver.2 in 1996, when dBase III+ and Foxbase (later version Foxpro) were my favorite DBMS. During Last 13 Year period I have developed more than 45 In-House Applications (medium & small) under MS-Access for our Organization, a leading Automotive Company in Oman. All the Applications are fully Secured and runs under Windows Network. It is my pleasure to share my experience with others. Anything interesting that you would like to share with me, please do. My E-mail Address: aprpillai@msaccesstips.com


If you need a Demo of any of the Topic explained here, send me an E-mail to: aprpillai@msaccesstips.com
with the Topic Description, I shall try to send a sample database to you.


Access Tips | Email | Reports | Report Tricks | Graphs | Forms | Menus | Animation | Security | Internet | How TOs | Linking | Query | Progress Meter | Alerts | Process Tips | Access Functions |




Site Designed by:www.msaccesstips.com