Solved

out of stack space

Posted on 1999-01-27
2
194 Views
Last Modified: 2010-05-03
how come that whenever i would close a form in my program i would usually get this error message although my code is working. what's the problem?

   this is what i usually put in my close button:

       data1.database.close
         unload me
0
Comment
Question by:idlebug
2 Comments
 
LVL 10

Accepted Solution

by:
caraf_g earned 20 total points
Comment Utility
You are causing an event loop.

This could be caused by an event A triggering an event B which then triggers an event C which then triggers event A again ad infinitum.

You may get an indication of what's happening by putting a break point in your Close button and stepping through the code.

Every event loop is different so I would have to see all your code to be able to suggest a course of action to fix your problem.
0
 

Author Comment

by:idlebug
Comment Utility
Adjusted points to 25
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now