A
Al
I have a report in Access 97 with the following code in its
detail section [onPrint] event:
Me.ScaleMode = 1
Me.ForeColor = 0
1: Me.Line (0.09 * 1440, 5)-(0.09 * 1440, 900)
2: Me.Line (5.72 * 1440, 5)-(5.72 * 1440, 900)
3: Me.Line (6.29 * 1440, 5)-(6.29 * 1440, 900)
4: Me.Line (6.995 * 1440, 5)-(6.995 * 1440, 900)
The text boxes in the detail section are all set to cangrow
= yes, canshrink = yes.
The problem:
Whenever I have a record with a lot of text that will cause
any of these boxes to grow, even by little bit, line 1 gets
broken on the next row then it continues with no problems
after that until it hits another record that has so much
text which will cause the text box to grow again then it
happens again and so on. This does not happened to lines
2,3, and 4. It only happens to line 1. I have tried to
change the height of the text boxes and where the first
line starts but it is still doing the same thing. Only for
line one, all other lines are continuing perfectly whether
the text boxes grow or not.
Any idea?
Thanks
Al
detail section [onPrint] event:
Me.ScaleMode = 1
Me.ForeColor = 0
1: Me.Line (0.09 * 1440, 5)-(0.09 * 1440, 900)
2: Me.Line (5.72 * 1440, 5)-(5.72 * 1440, 900)
3: Me.Line (6.29 * 1440, 5)-(6.29 * 1440, 900)
4: Me.Line (6.995 * 1440, 5)-(6.995 * 1440, 900)
The text boxes in the detail section are all set to cangrow
= yes, canshrink = yes.
The problem:
Whenever I have a record with a lot of text that will cause
any of these boxes to grow, even by little bit, line 1 gets
broken on the next row then it continues with no problems
after that until it hits another record that has so much
text which will cause the text box to grow again then it
happens again and so on. This does not happened to lines
2,3, and 4. It only happens to line 1. I have tried to
change the height of the text boxes and where the first
line starts but it is still doing the same thing. Only for
line one, all other lines are continuing perfectly whether
the text boxes grow or not.
Any idea?
Thanks
Al