Continuous Line on a Report

G

Guest

I have the following code that has a line that will start at the left of a
lable and grow down to fit the size as my report grows:

Me.Line (Me.lblETG_Grp.Left, 0)-Step(0, 10000)

1) Is there a way to make line on the right side of the lable? I did not
find a ME.Lable.Right option for coding?

2) Is there a way to make a vertical line across the bottom of a lable as
the page grows?

Thanks,

Jill Z.
 
D

Duane Hookom

Add the left + width to get the right:
Me.Line (Me.lblETG_Grp.Left +Me.lblETG_Grp.Width, 0)-Step(0, 10000)

I'm not sure what you mean by 2). "vertical" and "across bottom" don't seem
consistent.
 
D

Duane Hookom

Try:
Me.Line (Me.lblETG_Grp.Left ,
Me.lblETG_Grp.Top+Me.lblETG_Grp.Height )-Step(Me.lblETG_Grp.Width, 0)
 

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