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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rezise Datasheet columns 1

Status
Not open for further replies.

clapper62

Programmer
Apr 17, 2003
113
US
Hello All,
I have a form that opens in datasheet view.
Whenever I double click on the line between 2 columns
it will automatically adjust the width of the column.
Is there any way through code to simulate this
when the form loads so that all of my
columns are resized to the right width.

Thanks
 
Forms![yourForm]![yourTextBox].ColumnWidth = -2

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top