ACC: How to Print a Variable-Length Character StringID: Q119076
|
Novice: Requires knowledge of the user interface on single-user computers.
This article describes how you can print a variable-length character
string. You can use this method to print a dotted line (or a line composed
of the character of your choice) between two fields of variable length on a
report.
The following example demonstrates how to print a dotted line between a
variable-length name field and a phone number field:
Text Box 1
--------------------------------------------------------------
Name: NameDotString
NOTE: In Microsoft Access version 1.x, the Name property is called
the ControlName property.
ControlSource: =[CompanyName] & _
".............................................._
.............................................."
NOTE: In Microsoft Access versions 1.x and 2.0, type a space in
[Company Name].
CanGrow: No
CanShrink: No
Left: 0.3 in
Top: 0.08 in
Width: 2.8 in
Height: 0.17 in
FontName: Arial
FontSize: 8
Text Box 2
--------------------
Name: Phone
ControlSource: Phone
Left: 3.1 in
Top: 0.08 in
FontName: Arial
FontSize: 8
Label 1
----------------------
Name: CompanyNameLabel
Caption: Company Name
Left: 0.3 in
Top: 0.08 in
FontName: Arial
FontSize: 8
FontWeight: Bold
FontUnderline: Yes
Label 2
------------------
Name: PhoneLabel
Caption: Phone
Left: 3.1 in
Top: 0.08 in
FontName: Arial
FontSize: 8
FontWeight: Bold
FontUnderline: Yes
Company Name Phone
------------ -----
Alfreds Futterkiste......................030-0074321
Ana Trujillo Emparedados y helados.......(5) 555-4729
Antonio Moreno Taqueria..................(5) 555-3932
Around the Horn..........................(71) 555-8248
For more information about reports, search the Help Index for "Designing reports," or ask the Microsoft Access 97 Office Assistant.
Additional query words: fill pad
Keywords : RptOthr
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: April 6, 1999