Please help on printing lines

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
 
M

Marshall Barton

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.
 
A

Al

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top