Article ID: 197595
Article Last Modified on 10/11/2006
Field/Expression: EmployeeID
Sort Order: Ascending
Group Header: Yes
Name: Notes
ControlSource: Notes
CanGrow: Yes
CanShrink: Yes
Left: 0.2 in
Top: 0.166
Width: 4.6042 in
Height: 0.166 in
CanGrow: Yes
CanShrink: Yes
Height: 0.5 in.
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) Dim X1 As Single, Y1 As Single Dim X2 As Single, Y2 As Single Dim Color As Long ' Specify unit of measurement for coordinates on a page... Me.ScaleMode = 5 ' Specify that measurement occur in inches. ' Set line to print 5 inches from the left margin. X1 = 5 X2 = 5 ' Set line to print from the top of the detail section ' to a maximum height of 22 inches. Y1 = 0 Y2 = 22 Me.DrawWidth = 25 ' Width of the line (in pixels). Color = RGB(0, 0, 0) ' Use black line color. ' Draw the line with the Line method. Me.Line (X1, Y1)-(X2, Y2), Color End Sub
210321 ACC2000: How to Shrink and Grow a Rectangle in a Report
Additional query words: size
Keywords: kbdta kbhowto kbofficeprog kbprogramming kbvba KB197595