Please help on printing lines

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

I have a report that has a subreport1 and that subreport
has another subreport2 that is placed in the detail
section of the subreport1.
I am using the following code in the subreport2 detail
section to draw lines that can grow. When I run the report
the lines do not show even though they show when I run the
subreport2 independently. what is wrong?

Me.ScaleMode = 1
Me.ForeColor = 0
1: Me.Line (0.78 * 1440, 500)-(0.78 * 1440, 98220)
2: Me.Line (3.93 * 1440, 500)-(8 * 1440, 500)

thanks
Al
 
Al said:
I have a report that has a subreport1 and that subreport
has another subreport2 that is placed in the detail
section of the subreport1.
I am using the following code in the subreport2 detail
section to draw lines that can grow. When I run the report
the lines do not show even though they show when I run the
subreport2 independently. what is wrong?

Me.ScaleMode = 1
Me.ForeColor = 0
1: Me.Line (0.78 * 1440, 500)-(0.78 * 1440, 98220)
2: Me.Line (3.93 * 1440, 500)-(8 * 1440, 500)


I presume that that code in in the Page event, which is
ignored in subreports.
 
No as I mentioned in the message it is in the subreport2
detail section. However, I got it to work now. It seems
that I was using the wrong numeric value to start and end
the vertical line. Thanks
Al
 
Back
Top