columns in a subform

  • Thread starter Thread starter Peter Morris
  • Start date Start date
Hi Peter

Use the control's ColumnWidth property. For example:

Me.CustomerName.ColumnWidth = 2880

This sets the width to 2880 TWIPs, or 2 inches. (A TWIP is a "TWentIeth of
a Point", or 1/1440 inches)

Setting it to the special value of -2 sizes the column to fit the visible
text.
 
Back
Top