Group:  Microsoft Access ยป microsoft.public.access.reports
Thread: Vertical line?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Vertical line?
"SF" <ssamnang[ at ]yahoo.com> 13.09.2006 07:39:55
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


Re: Vertical line?
"Duane Hookom" <DuaneAtNoSpanHookomDotNet> 13.09.2006 12:15:38
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
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net