I have two forms. Both are datasheets. Form1 is based on a Query. Form2 is based on a Grouped Query.
Form1 has the following on load:
However when I go to type the OnLoad VBA in Form2, the prompts give me "value" instead of ColumnWidth.
I can't understand why Form2 isnt working?
Any help is gratefully appreciated.
Form1 has the following on load:
Code:
Me.[Field1].ColumnWidth = -2
Me.[Field2].ColumnWidth = -2
Me.[Field3].ColumnWidth = -2
Me.[Field4].ColumnWidth = -2
Me.[Field5].ColumnWidth = -2
However when I go to type the OnLoad VBA in Form2, the prompts give me "value" instead of ColumnWidth.
I can't understand why Form2 isnt working?
Any help is gratefully appreciated.