How to concatenate fields in a text box to remove blank lines (287685)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q287685 Novice: Requires knowledge of the user interface on single-user computers.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
For a Microsoft Access 2000 version of this article, see 209653.
For a Microsoft Access 97 version of this article, see 95917.
SUMMARY
This article shows you how to concatenate multiple fields for use in a form
or a report. This is especially useful in a mailing label report when some
fields are Null or empty. Null fields can cause blank lines to be printed on a report. Additionally, you may want to be able to copy and paste an entire name and address from a form into another application, such as Microsoft Word.
REFERENCESFor more information about the IIf() function, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type IIf() in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the IsNull() function, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type IsNull() in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about working with fields that contain no data, click Microsoft Access Help on the
Help menu, type About working with blank fields in queries in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Minor | Last Reviewed: | 6/7/2004 |
---|
Keywords: | kbdta kbhowto KB287685 |
---|
|