473,396 Members | 1,809 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Tab Control - Slow opening

I have a Tab Control on a form which holds all my main data entry forms. It
has (at the moment) 7 tabs, most of which have a form with a subform (or 2)
on them. Most of the forms involved have some calculations in them,
involving background queries to get the required results.
The upshot is that it takes about 13 - 15 seconds (on 1Ghz machine) to open
this form. Once it has opened it works excellent! but it is so slow opening.
Is there any way this can be speeded up somehow, eg only loading Tab pages
when clicked or something?

Nov 13 '05 #1
1 3357
Hi John

First thing is to turn off Name AutoCorrect (Tools | Options | General), and
set the SubdatasheetName to [None] in all your tables (Properties box in
table design view). For other ideas, see Tony Toews' Performance FAQ at:
http://www.granite.ab.ca/access/performancefaq.htm

If you have done that and still need to do more, you can delete the
SourceObject property of your subform controls, and then use the Change
event of the Tab control to assign the property.

If it suits, you can even place a single subform directly on the form (below
the tab control, which shrinks vertically to very small). Use the tab's
Click event to load the appropriate subform into the single generic subform.
This approach has the advantage that memory is only ever used by one subform
at any one time.

If you do reassign the SourceObject, be aware that Access will automatically
assign whatever it things is appropriate for the LinkMasterFields and
LinkChildFields properties, so you may need to clear these or reassign the
desired field names after it messes them up.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John M" <jo*****@bigpond.com> wrote in message
news:V0*******************@news-server.bigpond.net.au...
I have a Tab Control on a form which holds all my main data entry forms. It
has (at the moment) 7 tabs, most of which have a form with a subform (or
2)
on them. Most of the forms involved have some calculations in them,
involving background queries to get the required results.
The upshot is that it takes about 13 - 15 seconds (on 1Ghz machine) to
open
this form. Once it has opened it works excellent! but it is so slow
opening.
Is there any way this can be speeded up somehow, eg only loading Tab pages
when clicked or something?

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jawahar Rajan | last post by:
All, I am using the ASP code below to save some data from a SQL Server database via ADO as an Excel spreadsheet strReportName = Request.QueryString("ReportName") If len(strReportName) > 0 then...
1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
12
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC...
2
by: Rocky A | last post by:
This is my first posting so please be gentle I've been writing access programs for only about a year and may have bit off more than I can chew but....... I've written an operations program for...
0
by: Efkas | last post by:
I have a full custom application with some widged extending Controls like Label and PictureBox. I build a menu with these widgets. When I click on one of them, it calls a function to display...
0
by: Mark Nijhof | last post by:
Hello, I made a small app that has those nice moving panels like Visual Studio has. Now all goes fine until I open one of them that has a lot of child controls in it. Actually it has one...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
13
by: Arno R | last post by:
Hi all, I am deploying an A2k app to users with different versions of Access. Using Access 2000 the relinking on startup (on deploying a new frontend or when backend has changed) is very fast....
2
by: existential.philosophy | last post by:
This is a new problem for me: I have some queries that open very slowly in design view. My benchmark query takes about 20 minutes to open in design view. That same query takes about 20 minutes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.