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!

Labels and next box's that grow

Status
Not open for further replies.

kentwoodjean

Technical User
Oct 19, 2002
376
US
I have what may seem like a silly question but could sure use an answer. In some of my databases, many of the reports look like a table and as such, I really like to use the Line/Border tool. Because a text box can grow, that outlined box is oten larger than the label box that is outlined. Is there anyway that the label box can grow based on the size of its corresponding text box? That way it would look like a true table without gaps on the label side.

Hope this makes sense.




 
Hmmm, might make more sense in the Report forum :>), but I'll bite.

On the report section's Format event try the following (change your control names to suit):

Me.Label0.width = Me.Text0.width

Cheers,
Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top