I think I see what is happening.
Annie, you have used the Properties box (or the formatting toolbar) for your
text toxes to make their BorderStyle Solid. You want the controls
(textboxes) to grow together so that the *effect* is 3 black boxes of equal
height with the correct writing in each.
Duane's suggestion will give this effect. Set the BorderStyle for each box
back to Transparant. With the Properties box open, click on each textbox,
click on the 'Other' tab in the Properties box and next to where it says Tag
type the word Border. Duanes code looks at all the controls in your report's
section and draws a box around any which have the word Border written in the
Tag section.
The bit of his code which says
'Draw a box around each control in Detail _
that has a tag property of "Border"
doesn't mean that you have to physically draw the boxes. It's a comment line
(that's why it starts with a '). It's put there to show you what that bit of
the Code is doing.
The code is put into a code page which (in Design View) you open by right
clicking on the grey bar above the section which contains the controls.
Click on Properties.
Click on the Events tab
Next to OnPrint choose Event Procedures. Open a Code page, Delete the lines
below 'Option Compare Database' which appear there automatically, and paste
in Duane's code (use his original posting so you don't have to delete >>>'s)
You'll see that any line which begins with a ' will be green in the code
window. It's not actually part of the code, it's there just to tell you what
is happening in the code.
When Duane says 'Use the Line method' he's referring to the bit of his code
that says
Me.Line
That's the bit which draws the boxes.
Do try it, it I'm sure it will work. If it doesn't tell us which line it
gets stuck on.
Evi