Solved Column widths not retaining for datasheet form (1 Viewer)

Kayleigh

Member
Local time
Today, 13:56
Joined
Sep 24, 2020
Messages
706
Another frustrating issue is I have several subforms which are datasheet view. I would like to expand the column widths but it will not save when I close and re-open.
Any workarounds?
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 08:56
Joined
Feb 19, 2002
Messages
43,275
This is pretty frustrating. Old versions of Access handled the widths better. The user could even adjust and save the widths to suit himself. I don't have code but if you search, you might find some here to set the column widths as a form opens.
 

bob fitz

AWF VIP
Local time
Today, 13:56
Joined
May 23, 2011
Messages
4,727
Another frustrating issue is I have several subforms which are datasheet view. I would like to expand the column widths but it will not save when I close and re-open.
Any workarounds?
What version of Access are you using?
 

Kayleigh

Member
Local time
Today, 13:56
Joined
Sep 24, 2020
Messages
706
Office 365

It seems to be a bug. The workaround I have found for this is to open the unhide fields dialog box.
 

isladogs

MVP / VIP
Local time
Today, 13:56
Joined
Jan 14, 2017
Messages
18,225
Users can still adjust and save column widths.
Or you can autosize datasheet columns by setting column width property to -2 in code
 

Users who are viewing this thread

Top Bottom