Solved

subform column widths will not hold size after saving

Posted on 2016-09-21
4
45 Views
Last Modified: 2016-09-21
access 2010

Never had this issue before.

Subform column widths will not hold have going into subform  and changing there...

Subform column widths will not hold have going into Main form  and changing there


Thanks
fordraiders
0
Comment
Question by:fordraiders
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 20
ID: 41809223
is it a datasheet?
0
 
LVL 3

Author Comment

by:fordraiders
ID: 41809243
yes.,...
0
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 41809256
FordRaiders,

See my article here for some ideas

Short answer is recent versions of Access have dorked this up.  When I want columns placed in a certain order and a certain width, I create a procedure to do it and call that procedure from the Form_Load event.

Private Sub ColumnWidths

    me.controls("txt_Field1").columnwidth = 1 * 1440
    me.controls("txt_Field2").columnwidth = .75 * 1440
    me.controls("txt_Field3").columnwidth = 1.25 * 1440

End Sub

Note that I've referenced the control name, not the field name.
0
 
LVL 3

Author Closing Comment

by:fordraiders
ID: 41809629
Dale, Thanks Yes, I found this.!! worked.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question