How to display fields the same height

G

Guest

Hi

I have a report and with 2 fields in the detail section. Each field is bound
to a field contains a lot of text. The fields resize automatically and have a
black border.

Q. How do i get the fields to be display the same size (height) ie the
height of the largest one? The problem is i need to show a border around them
but as each contains differing amounts of text the field borders appears
lopsided. I need to display them as you would like a msword table.

mike
 
W

witharebelyell

this can now be done in 1 line of code!!!

I downloaded this code mention above (quite impressive) and got it
working! BUT these thousands of line of code can be replace by one
line!

put this in print event of detail section! make the meno's border style
transparent, and can grow
Me.Line (x, y) - Step(0, 20000)


where x is the horizontal position where you want the line.
For example, if you want the line at the left edge of a text
box named tb, then it would be:
Me.Line (Me.tb.Left, 0) - Step(0, 20000)
If you want it at the right edge of a text box:
Me.Line (Me.tb.Left + Me.tb.Width, 0) - Step(0, 20000)
 

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