dbTalk Databases Forums  

Allowed do nesting level exceed.

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Allowed do nesting level exceed. in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tassaduqe
 
Posts: n/a

Default Allowed do nesting level exceed. - 07-03-2006 , 08:01 AM






I am using the recursive function to calculate the days from the
entered days. but after entering some days it gives me this error
message "Allowed Do nesting level exceed."
can any one help me. I cant leave recursive function idea.


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Allowed do nesting level exceed. - 07-03-2006 , 09:49 AM






In article <1151931660.795757.156070 (AT) v61g2000cwv (DOT) googlegroups.com>,
tassaduqe wrote:

Quote:
I am using the recursive function to calculate the days from the
entered days. but after entering some days it gives me this error
message "Allowed Do nesting level exceed."
can any one help me. I cant leave recursive function idea.
Evidently you are doing "too much" inside a program (or function). Have
you tried the alternative to do the recursions using temporary tables?

jp
--



Reply With Quote
  #3  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: Allowed do nesting level exceed. - 07-03-2006 , 02:31 PM



On 3 Jul 2006 06:01:00 -0700, "tassaduqe" <t_humayun (AT) hotmail (DOT) com>
wrote:

Quote:
I am using the recursive function to calculate the days from the
entered days. but after entering some days it gives me this error
message "Allowed Do nesting level exceed."
can any one help me. I cant leave recursive function idea.
No, we can not. You have not given sufficient detail.

Yes, you can. Anything recursive can be done iteratively as
well.

Sincerely,

Gene Wirchenko



Reply With Quote
  #4  
Old   
tassaduqe
 
Posts: n/a

Default Re: Allowed do nesting level exceed. - 07-04-2006 , 12:39 AM



Can u give me any example for temperary tables.

My problem is that i have two dates, start date and end date.
Case1 - If i select the end date it should calculate the days and
hours.

Case2 - If i give total no. of days, then it should calculate the end
date and hours.
The problem is in case 2, i m using the calling the same function
inside upto the entered days.


Tassadique
INVALID wrote:
Quote:
In article <1151931660.795757.156070 (AT) v61g2000cwv (DOT) googlegroups.com>,
tassaduqe wrote:

I am using the recursive function to calculate the days from the
entered days. but after entering some days it gives me this error
message "Allowed Do nesting level exceed."
can any one help me. I cant leave recursive function idea.

Evidently you are doing "too much" inside a program (or function). Have
you tried the alternative to do the recursions using temporary tables?

jp
--


Reply With Quote
  #5  
Old   
Kenneth Downs
 
Posts: n/a

Default Re: Allowed do nesting level exceed. - 07-23-2006 , 07:58 AM



tassaduqe wrote:

Quote:
Can u give me any example for temperary tables.

My problem is that i have two dates, start date and end date.
Case1 - If i select the end date it should calculate the days and
hours.

You know fox does these with built-in functions. anything it does not
handle you can do with simple arithmetic, no recursion should be necessary.


Quote:
Case2 - If i give total no. of days, then it should calculate the end
date and hours.
The problem is in case 2, i m using the calling the same function
inside upto the entered days.


Tassadique
INVALID wrote:
In article <1151931660.795757.156070 (AT) v61g2000cwv (DOT) googlegroups.com>,
tassaduqe wrote:

I am using the recursive function to calculate the days from the
entered days. but after entering some days it gives me this error
message "Allowed Do nesting level exceed."
can any one help me. I cant leave recursive function idea.

Evidently you are doing "too much" inside a program (or function). Have
you tried the alternative to do the recursions using temporary tables?

jp
--

--
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.