Datasheet question

  • Thread starter Thread starter Phil Hunt
  • Start date Start date
P

Phil Hunt

Is there anyway to fix the columne width on datasheet subform in Acc 2007. ?

Thanks
 
You can use the resize event and the current event of the form, and the
lostfocus event of the control, to return the column to it's width:

Private Sub Form_Resize()
Me.txtControlName.ColumnWidth = 1440 ' 1 inch
End Sub

There are 1440 twips to the inch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top