Solved

weird stack error .

Posted on 2002-06-27
4
171 Views
Last Modified: 2010-05-02
i have a programs that uses crystal reports on an odbc access database, everything runs fine until i try to exit the program after running 2 reports, if i run one report and close the programs closes fine, but if i run 2 reports and then close it, at the end before it unloads gives me a error 28 out of stack space error .

any ideas ????
0
Comment
Question by:tryingtoprogram
4 Comments
 
LVL 5

Accepted Solution

by:
bob_online earned 75 total points
ID: 7113445
You're going to have to either put in a break point and step through the code when the app closes, put in pop up msgboxes to tell what is really executing or write to a log file.  Rather than shutting down, some event is repeatedly executing code until it chews up the stack space.  Depending on the event, it may not occur with break points in the develpment environment.  Msgboxes that basically just display the procedure name they are in may be your best course for figuring out what is going on.
0
 

Author Comment

by:tryingtoprogram
ID: 7115528
it is not a procedure chewing the stack because, i've done step by step the code and the error comes up on the unload script of the main form, BUT this only happens when 2 crystal reports have been created. SO it is not a recursive or procedure because it dose NOT happen whe only one report is created before exiting the program. Also the error only comes up at unload time, i can run the program all i want create and close all the crystal reports i want but when i exit the main form , BOOM error busts in. 28 out of stack space.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7964574
Hi tryingtoprogram,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept bob_online's comment(s) as an answer.

tryingtoprogram, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 8014817
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 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

20 Experts available now in Live!

Get 1:1 Help Now