Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / July 2007

Tip: Looking for answers? Try searching our database.

How to have a correct size in a form?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hanski - 04 Jul 2007 12:51 GMT
Hi.

I have a form which will open when I press a button in a other form.
But when that form will open, it has various sum of data. That's why
the form is not automatically in right size. Sometimes it is too large
and sometimes to small. Is it possibe to make it open so that it will
always be in a right size?

Hannu
John W. Vinson - 04 Jul 2007 18:01 GMT
>Hi.
>
[quoted text clipped - 5 lines]
>
>Hannu

Do you want the form to automatically change its width? its height? or both?
dependent on data? That's going to be really difficult; it's not how Access
forms typically work!

You would essentially need to open the form hidden; count the number of
records; go into design mode; change the size of the form; save it with the
new size; and finally go back into data mode and make it visible. This will be
*slow* and will bloat your database since it must keep deleting the old form
and saving the new one.

Can you instead simply open the form big enough to show the typical data, and
let users use the scrollbar if there is more data than will fit?

            John W. Vinson [MVP]
hanski - 05 Jul 2007 06:33 GMT
> >Hi.
>
[quoted text clipped - 20 lines]
>
>              John W. Vinson [MVP]

ok, I will open the form big enough.

thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.