Hi, Patty.
I am building a tab form and it is quite large. I have a few more things to
do, but am now getting the message "too many controls on form".
The maximum number of controls allowed on a form is 754. Each time a
control is deleted, the counter is not reset, so even if you don't currently
have this many controls on your form, this form has reached the end of its
lifecycle.
If you don't actually have 754 controls on your form, then you could start
fresh with the current number of controls. There are two ways to do this.
First, make a backup of your database file, just in case something goes
wrong.
1.) Create a new form and copy all of the controls from the overloaded form
onto it. Copy the code from the overloaded form and paste it into the
module of the new form. Delete the overloaded form. Rename the new form
with the same name as the form you just deleted. Compile the code and
compact/repair the database.
2.) Create a new database file and import this overloaded form into it.
Delete the overloaded form from the original database. Compact/repair the
original database. Import the overloaded form from the new database into
the original database. Compile the code.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)