Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Ensuring uniform control width on forms and reports

 
   Windows Help (Home) -> Microsoft Access RSS
Next:  converting jpeg folder/file  
Author Message
Tony Toews [MVP]

External


Since: Dec 6, 2008
Posts: 23



(Msg. 1) Posted: Tue Apr 07, 2009 2:25 am
Post subject: Ensuring uniform control width on forms and reports
Archived from groups: microsoft>public>access, others (more info?)

This utility ensures you have uniform control width on forms and reports. This
example shows the Unit Number as found in many forms and reports through out the
Granite Fleet Manager. Other examples might be part numbers, serial numbers,
license plate numbers or other fields in which you must display all the data and yet
the field might be too short or you unexpectedly had to lengthen the field.

....

This code illustrates going through the collection of forms and reports then going
through the collection of controls on each form or report. If the control matches
certain criteria, being a text, combo or list box then various properties are read
from the control and placed in a table. If a combo box or list box the field name is
extracted from each column of the Row Source query.

[URL="http://msmvps.com/blogs/access/archive/2009/04/06/ensuring-uniform-control-width-on-forms-and-reports.aspx"]http://msmvps.com/blogs/access/archive/2009/04/06/ensuring-uniform-control-width-on-forms-and-reports.aspx[/URL]

[URL="http://www.granite.ab.ca/access/ensuringuniformcontrolwidth.htm"]http://www.granite.ab.ca/access/ensuringuniformcontrolwidth.htm[/URL]

 >> Stay informed about: Ensuring uniform control width on forms and reports 
Back to top
Login to vote
KC-Mass

External


Since: Apr 7, 2009
Posts: 2



(Msg. 2) Posted: Tue Apr 07, 2009 7:42 am
Post subject: Re: Ensuring uniform control width on forms and reports
Archived from groups: per prev. post (more info?)

Hi Tony,

I looked briefly at that but see no code. My interest is in a more mundane
use of code that peruses objects of the db. I am currently working on a db
that has had hundreds of hands on it and now has about 700 objects in it.
I would like to identify the dead ends/abandoned objects which I am pretty
sure
account for better than two thirds of the total.

Any assist would be appreciated.

Kevin

"Tony Toews [MVP]" wrote in message

> This utility ensures you have uniform control width on forms and reports.
> This
> example shows the Unit Number as found in many forms and reports through
> out the
> Granite Fleet Manager. Other examples might be part numbers, serial
> numbers,
> license plate numbers or other fields in which you must display all the
> data and yet
> the field might be too short or you unexpectedly had to lengthen the
> field.
>
> ...
>
> This code illustrates going through the collection of forms and reports
> then going
> through the collection of controls on each form or report. If the
> control matches
> certain criteria, being a text, combo or list box then various properties
> are read
> from the control and placed in a table. If a combo box or list box the
> field name is
> extracted from each column of the Row Source query.
>
> [URL="http://msmvps.com/blogs/access/archive/2009/04/06/ensuring-uniform-control-width-on-forms-and-reports.aspx"]http://msmvps.com/blogs/access/archive/2009/04/06/ensuring-uniform-control-width-on-forms-and-reports.aspx[/URL]
>
> [URL="http://www.granite.ab.ca/access/ensuringuniformcontrolwidth.htm"]http://www.granite.ab.ca/access/ensuringuniformcontrolwidth.htm[/URL]
>
>
> --
> Tony Toews, Microsoft Access MVP
> Please respond only in the newsgroups so that others can
> read the entire thread of messages.
> Microsoft Access Links, Hints, Tips & Accounting Systems at
> [URL="http://www.granite.ab.ca/accsmstr.htm"]http://www.granite.ab.ca/accsmstr.htm[/URL]
> Tony's Microsoft Access Blog - [URL="http://msmvps.com/blogs/access/"]http://msmvps.com/blogs/access/[/URL]

 >> Stay informed about: Ensuring uniform control width on forms and reports 
Back to top
Login to vote
Brendan Reynolds

External


Since: Nov 26, 2008
Posts: 7



(Msg. 3) Posted: Tue Apr 07, 2009 10:25 am
Post subject: Re: Ensuring uniform control width on forms and reports
Archived from groups: per prev. post (more info?)

"KC-Mass" <connearney_AT_comcast_Period_net> wrote in message

> Hi Tony,
>
> I looked briefly at that but see no code. My interest is in a more
> mundane
> use of code that peruses objects of the db. I am currently working on a
> db
> that has had hundreds of hands on it and now has about 700 objects in it.
> I would like to identify the dead ends/abandoned objects which I am pretty
> sure
> account for better than two thirds of the total.
>
> Any assist would be appreciated.
>

The Find and Replace utility from [URL="http://www.rickworld.com"]www.rickworld.com[/URL] has a cross-reference
feature that I find useful for this kind of thing. It's disabled in the
shareware version but enabled when you register.

FMS ([URL="http://www.fmsinc.com"]www.fmsinc.com[/URL]) provides tools that cost more, but provide more
features.

There's also Speed Ferret ([URL="http://www.moshannon.com"]www.moshannon.com[/URL]).
 >> Stay informed about: Ensuring uniform control width on forms and reports 
Back to top
Login to vote
Tony Toews [MVP]

External


Since: Dec 6, 2008
Posts: 23



(Msg. 4) Posted: Tue Apr 07, 2009 9:57 pm
Post subject: Re: Ensuring uniform control width on forms and reports
Archived from groups: per prev. post (more info?)

"KC-Mass" <connearney_AT_comcast_Period_net> wrote:

>I looked briefly at that but see no code.

There should be a reasonable amount of code behind the form.

>My interest is in a more mundane
>use of code that peruses objects of the db. I am currently working on a db
>that has had hundreds of hands on it and now has about 700 objects in it.
>I would like to identify the dead ends/abandoned objects which I am pretty
>sure account for better than two thirds of the total.

My utility wouldn't be at all useful as you'd need to thoroughly
analyze the macros, if any, and the VBA code.

Tony
 >> Stay informed about: Ensuring uniform control width on forms and reports 
Back to top
Login to vote
Tony Toews [MVP]

External


Since: Dec 6, 2008
Posts: 23



(Msg. 5) Posted: Tue Apr 07, 2009 10:00 pm
Post subject: Re: Ensuring uniform control width on forms and reports
Archived from groups: per prev. post (more info?)

"KC-Mass" <connearney_AT_comcast_Period_net> wrote:

>I looked briefly at that but see no code. My interest is in a more mundane
>use of code that peruses objects of the db. I am currently working on a db
>that has had hundreds of hands on it and now has about 700 objects in it.
>I would like to identify the dead ends/abandoned objects which I am pretty
>sure account for better than two thirds of the total.

FMS has a tool called Total Access Analyzer which should do a very
good job. [URL="http://www.fmsinc.com/MicrosoftAccess/BestPractices.html"]http://www.fmsinc.com/MicrosoftAccess/BestPractices.html[/URL]

Tony
 >> Stay informed about: Ensuring uniform control width on forms and reports 
Back to top
Login to vote
KC-Mass

External


Since: Apr 7, 2009
Posts: 2



(Msg. 6) Posted: Wed Apr 08, 2009 11:45 am
Post subject: Re: Ensuring uniform control width on forms and reports
Archived from groups: per prev. post (more info?)

Thanks Tony


"Tony Toews [MVP]" wrote in message

> "KC-Mass" <connearney_AT_comcast_Period_net> wrote:
>
>>I looked briefly at that but see no code. My interest is in a more
>>mundane
>>use of code that peruses objects of the db. I am currently working on a
>>db
>>that has had hundreds of hands on it and now has about 700 objects in it.
>>I would like to identify the dead ends/abandoned objects which I am pretty
>>sure account for better than two thirds of the total.
>
> FMS has a tool called Total Access Analyzer which should do a very
> good job. [URL="http://www.fmsinc.com/MicrosoftAccess/BestPractices.html"]http://www.fmsinc.com/MicrosoftAccess/BestPractices.html[/URL]
>
> Tony
> --
> Tony Toews, Microsoft Access MVP
> Please respond only in the newsgroups so that others can
> read the entire thread of messages.
> Microsoft Access Links, Hints, Tips & Accounting Systems at
> [URL="http://www.granite.ab.ca/accsmstr.htm"]http://www.granite.ab.ca/accsmstr.htm[/URL]
> Tony's Microsoft Access Blog - [URL="http://msmvps.com/blogs/access/"]http://msmvps.com/blogs/access/[/URL]
 >> Stay informed about: Ensuring uniform control width on forms and reports 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Blank Reports to not open - Hi I have 3 reports which open from a macro. I would like the reports to be displayed if there is information, however if the report is blank I don't want to open it. Is there a setting which stops blank reports from openning?

Saving Reports Outside Of Access - Can someone tell me if it is possible by code to Save a Report As a Data Access Page through VBA? And if so, could you give me an example of the code? I would like the user to select the report from a switchboard, have it open in Preview mode and on...

Want to change colors of text items in reports - In a database I have a field with a drop down box that has 3 possible text answers. When one of these answers is selected, I would like to have a different color for each answer in the report. Example: Priority code with a selection of 1, 2, 3. In the...

using forms - I am trying to allow a textbox in a subform in a form to accept input from the keyboard. At the moment it obstinately refuses to react to keyboard entry. As far as I can see the textbox is enabled and unlocked and the form allows edits. Please can..

Forms "look and feel" - I think I came across something once that mentioned that from Access 2003 upwards it was possible to make forms and their controls (buttons, etc.) look more like standard Windows forms. I think it mentioned something about "more rounded buttons&quot...
   Windows Help (Home) -> Microsoft Access All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]