Centering Field

  • Thread starter Thread starter Ian
  • Start date Start date
I

Ian

I have a subform with multiple fields that I keep in datasheet view. the
last field is for notes is much wider than the form so there's a horizontal
scroll bar at the bottom of the form.

When the user tabs to the Notes field it automatically moves the left margin
of the note field to the left margin of the form (as a result you can't see
the other fields). Is there a way to keep it centring the notes field when
it is tabbed to?

I've tried setting the form Orientation parameter to left-to-right and the
notes parameter scroll bar align to left but it didn't help.

Thanks Ian.
 
I have a subform with multiple fields that I keep in datasheet view. the
last field is for notes is much wider than the form so there's a horizontal
scroll bar at the bottom of the form.

When the user tabs to the Notes field it automatically moves the left margin
of the note field to the left margin of the form (as a result you can't see
the other fields). Is there a way to keep it centring the notes field when
it is tabbed to?

I've tried setting the form Orientation parameter to left-to-right and the
notes parameter scroll bar align to left but it didn't help.

Thanks Ian.

Did you try freezing the columns.
In datasheet view, select the column(s) you wish to always appear on
screen. Right-click and select Freeze columns.
 
Ian,

I am not able to answer your question directly, as I have no experience
with this. This is because I would always avoid a horizontal scroll bar
at all costs. The two solutions I have used in such scenarios are:
- Put the Notes textbox *under* the other controls, i.e. on a second
line within the subform.
- Make the Notes control very narrow, so it fits within the screen
width, and use code on its Enter event to open a ZoomBox to view/edit
the data for this field.
 
Back
Top