15 pts.
 foxpro 2.6 on windows 98
I am developing a software in foxpro 2.6. on windows 98

When i run the project after every 16 trasactions it gives an error as follows :-

     " DO NESTING IS TOO DEEP "

there is no logical or syntax error in the project. But still it gives this error. Anybody can tell me the solution.

 



Software/Hardware used:
Software foxpro 2.6 os - 98
ASKED: November 17, 2009  11:31 AM
UPDATED: November 20, 2009  11:27 AM

Answer Wiki:
Your program call stack is too big. You must have a program (do xxx.prg) calling another program (do yyy.prg) repeated 16 times. Besides the design issues, this makes it tough to debug. Good luck.........KM (www.MurphySoftware.net) ---------------- check either of the two: 1. in one of the endless or 'repeating too much' loop you have given a command to call another sub-program by a Do command (e.g. Do ABC) or 2. the sub-program you call, further calls another program and so on thereby increasing the executable programs without completing them
Last Wiki Answer Submitted:  November 19, 2009  6:32 am  by  Km1   15 pts.
All Answer Wiki Contributors:  Km1   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

It sounds like you have too many nested loops, more than the maximum allowed by foxpro, but without looking at the code, it would be hard to tell.

I would read the documentation about DO WHILE loops, and then check the code again.

 63,535 pts.

 

Km1 is correct.

This link could help clarifying the DO nesting level:

How to Determine the Current DO Nesting Level

 63,535 pts.

 

my main program is XY.
In XY i called another prog. AAA.
In AAA I called another prog. BBB.

XY —> AAA —> BBB

Thus there are only three levels.

No logical and syntax error.

Still IT SHOWS error ” DO NESTING IS TOO DEEP ”

Is there any solution on this problem ………???????????

 15 pts.