Kamis, 02 Februari 2012

[MS_AccessPros] Detail section Vertical line

 

Hi All,

I am using the following code in my reports detail section

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
    Me.ScaleMode = 1
    Me.ForeColor = 0

    Me.Line (0.0208 * 1440, 0)-(0.0208 * 1440, 14400)
    Me.Line (0.625 * 1440, 0)-(0.625 * 1440, 14400)
    Me.Line (3.1458 * 1440, 0)-(3.1458 * 1440, 14400)

End Sub

Lines are printed pretty well but the vertical position of the line is little out mark mean lines are printed beneath the detail section let say if one my control height is 1.5 (with top set 0) the line top property would 0.02 or more aprox. secondly how I can control the height of the line I want fixed height line to be printed let say 5 in. 

 
Thanks & Regards,
--
Abdul Shakeel

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar