-----Original Message-----
-----Original Message-----
Paul said:
Please excuse my previous mesg. I must have had gone
temp. brain dead on the line. The visibility works
great. Only one detail for the visiblity. It currently
works as below
Project Code Notes Comments
_______________________________________________
1 jfklajflk F jfajflkj fjkaljfkafjlka
_______________________________________________
2 jfkaljflka F jfkajfl jkfljaljlaj
_______________________________________________
3 fjklafjlka F jklafjl fjkajfkljalf
_______________________________________________
kfajlkjalkjal
fafkjlkaj
fkajflka
4 jfklajflk F jfjfdja jkfajfajafjaj
The line is right above the Count field txt box. Is there
any way to designate to print only above the count
field?
Where do you have the Line control? I thought it was at the
top of the detail section and that the code should make it
visible as needed. I honestly don't see how it could
produce the above output.
Or are you drawing the line yourself? If so, please post
the code you're using.
Thank you again, you will never know how good it feels to
be this close to being finished!
You're welcome, but, after all these years, I definitely
know how good it feels to turn a difficult problem into a
workable solution ;-)
--
Marsh
MVP [MS Access]
.
Sorry for the late response. But here goes with the
line.
I did not draw the line with code (I do not know how
to "code" horizontal code, worked with the code I posted
earlier, but could not manage to code horizontally). The
line was placed right above the count box, which is
located beside the txtNotes. I then when to On Format of
the detail and placed:
If Me!txtNotes.IsVisible Then
Me!Line49.Visible = True
Else
Me!Line49.Visible = False
End If
The above code was placed below the following code (which
is an extremly wide line that serves the purpose
of "shading" a column):
Private Sub Detail_Format(Cancel As Integer, FormatCount
As Integer)
Dim X11 As Single, Y11 As Single
Dim X12 As Single, Y12 As Single
Dim Color1 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.
X11 = 8.235
X12 = 8.235
' Set line to print from the top of the detail section
' to a maximum height of 22 inches.
Y11 = 0
Y12 = 22
Me.DrawWidth = 453
Color1 = 12632256
' Draw the line with the Line method.
Me.Line (X11, Y11)-(X12, Y12), Color1
If you have any ideas please pass them along. Once again,
and I most likely can not say this enough, Thank You, the
report and my general knowledge of Access and code has
grown and "I Really Enjoy It!"
Paul
.