Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Borders "inside" a multiline textbox

Status
Not open for further replies.

paulorlowski

Programmer
Jul 10, 2001
56
US
I need to create an online form and report that looks the same as the form that is filled out by hand with pen or pencil. The problem is in having lines for every row (borders around every textbox).

Picture a spreadsheet or better yet a Word table. Every row is a uniform heighth with the gridlines or borders left on. When every record is one row tall that works great. The problem is when a record is 2 or more rows tall. The Access text box expands just like a Word table. There's still a border

at the bottom of the second row, but now there's no border or line under the first row. The first row of text has to have it's own exact sized box around it, even though some of the text has wrapped around starting a second row.

I've been trying to solve it with transparent layers. I built a grid of textboxes with the exact size and border height. Then I put the output fields on top with no borders and a transparent background.

It doesn't work because the underlying textboxes with borders get pushed down. For example if row 1 turns out to be 3 lines of text, it should spill into or over the bordered textbox in row 2, but that row 2 textbox gets pushed a half inch down the page so it's below all 3 text lines.

How can I make that row 2, stay at the same place on the page regards of how the objects above it grow?

Or I'm open to other solutions.

Thanks

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top