Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit to Create Form Control

Status
Not open for further replies.

cc5305

MIS
Oct 4, 2000
70
US
Hi, does anyone know if there is a limit on the number of controls I can create on a form? What I mean is that... in my database, I'm using various methods to create and delete controls. So as time goes on, the number of controls created and deleted would reach pretty high. And for some reason, if I press on the buttons and I'll get an OLE or ActiveX error. I'm thinking that it has something to do with me reaching the limit, but not sure... the button(s) that I would press is just to close the form or run a procedure in another module, but involves nothing like the error says...
 
The limit for all controls on a form (this includes labels) is 784 (I think). But, I can't imagine creating nearly that many. Nor can I understand why you would continue to add and delete controls. This sounds like you have a problem with your database structure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top