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
Solved

Auto Resize SUB form field widths

Posted on 2001-08-09
7
318 Views
Last Modified: 2012-06-21
I want to auto resize the field width on a sub form when it displays data.

Essentially, I want to do programmatically what I can do at run-time when I double-click on a resize bar and the field width adjusts.  

Thanks.
0
Comment
Question by:knowlton
  • 3
  • 3
7 Comments
 
LVL 8

Expert Comment

by:dovholuk
ID: 6369858
sorry, don't think it's possible...

dovholuk
0
 
LVL 5

Author Comment

by:knowlton
ID: 6369878
You don't think it's possible...because... ???
0
 
LVL 8

Expert Comment

by:dovholuk
ID: 6369907
it's a question that's been around for a while. i've never seen it answered.

i agree that it seems like it SHOULD be doable, i've just never seen anyone here (or elsewhere) make it happen...

sorry.

dovholuk
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 5

Author Comment

by:knowlton
ID: 6369928
dovholuk:

No sweat.

I didn't think I could be the first person to ask this...it seems like a very reasonable thing to want to do....

Thanks anyway.
0
 
LVL 8

Expert Comment

by:dovholuk
ID: 6369987
yep... keep the question alive for a bit to see if any experts can give you "the magic bullet"... then delete it to reclaim your points if it can't be done...

dovholuk
0
 
LVL 5

Author Comment

by:knowlton
ID: 6370011
I will, thanks.
0
 
LVL 30

Accepted Solution

by:
hnasr earned 20 total points
ID: 6370308
I understand the question as this: If you have 10 characters in a field you want it's width to be just enough to accomodate the 10 characters. You want the width to be bigger if it contains more characters.

One attempt, is to use fixed width font and find how many characters per inch or whatever units you like.  In the on format event, find the length of the field contents and set the width accordingly.

I guess one can adjust the position of other fields relative to that field.

One keeps learning!
Good luck.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Search a table based on a "like" search 6 44
Dot leaders between two labels in report 10 33
Record with #Error 8 33
send attachment with email in an ms access form 1 40
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

828 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