Do both text boxes grow? You can use the Line method in the On Print event of the report section containing the two text boxes. Assuming the left box is txtLeft and the other is txtRight, you would use code like:
Dim lngHeight as Long If Me.txtRight > Me.txtLeft Then lngHeight = Me.txtRight.Height Else lngHeight = Me.txtLeftHeight End If Me.Line (Me.txtLeft.Left + Me.txtLeftWidth, _ Me.txtLeft.Top)-Step(0,lngHeight)
-- Duane Hookom MS Access MVP
"SF" <ssamnang[ at ]yahoo.com> wrote in message news:%23zf2Zcw1GHA.4924[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text] >I have a report with two memo fields. I have a vertical line that separate >these 2 fields. When I view the report the height of the verticle line is >the same, How can I extend this vertical line as per the height of the >field. > > SF >
|