[SOLVED] Stack Ovreflow Error in maintain application:
Hi, I have a maintain application where i have only one form with a Read/Write Grid in it which is used to update rows in database.When i am trying to update any row, the browser throws a alert message "Stack Overflow at line:" where 'some no'. is different for different rows.But after that the rows are getting updated properly. i.e, all the functions are working fine but this alert is coming in between.Can anyone suggest me the way to avoid this alert? I am using Internet Explorer. Let me know if further detail is required.
Thanks in advance.This message has been edited. Last edited by: Kerry,
Please check for any of these conditions. Any of them could cause the stack overflow error.
1) Too many nested IF - THEN - ELSE statements. I think there was a limit of 30. More than that could case the error.
2) Many ON NEXT / ON NONEXT statements. If you are looping through your database one record at a time, and checking if there are anymore, you definitly hit this limit. The way around that is to check for FocFetch. If FocFetch=0 then there are more records. If FocFetch=1, then no more records.
3) Too Many lines or objects on Winforms. If this is a VERY large maintain, or there are hundreds of items on your form, you could hit a tokens limit, but I think that's a different error message.
If none apply, send me a repro and I will take a look.