N
NevilleT
I have a report with some vertical lines. It is a Gantt Chart with variable
timescales so the lines need to be constructed at runtime based on a form
parameters.
The lines draw in the place they should however some only appear for some of
the records. The lines are OK from the top of the page but it looks like a
ragged comb. Even more weird is that by clicking on the report to zoom, some
lines appear and some others disappear. It seems random. Occasionally all
appear.
Without getting too far into the variables, I am using
For intCounter = 1 To lngTemp
Me.Line (funCmToTwips(dblOffset + ((intCounter - 1) * dblLabelWidth)),
0)-(funCmToTwips(dblOffset + ((intCounter - 1) * dblLabelWidth)), 14400)
Next
I have a simple function called funCmToTwips that converts cms to twips.
timescales so the lines need to be constructed at runtime based on a form
parameters.
The lines draw in the place they should however some only appear for some of
the records. The lines are OK from the top of the page but it looks like a
ragged comb. Even more weird is that by clicking on the report to zoom, some
lines appear and some others disappear. It seems random. Occasionally all
appear.
Without getting too far into the variables, I am using
For intCounter = 1 To lngTemp
Me.Line (funCmToTwips(dblOffset + ((intCounter - 1) * dblLabelWidth)),
0)-(funCmToTwips(dblOffset + ((intCounter - 1) * dblLabelWidth)), 14400)
Next
I have a simple function called funCmToTwips that converts cms to twips.