Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to solve a stack overflow in a primary key field ? 1

Status
Not open for further replies.

Gutto

Programmer
Aug 2, 2006
2
BR
i've been tryin' to post double records in a key field in order to get a message dlg, but instead i am getting a stack overflow error. help me solve this puzzle.
 
Stack overflow" is usually related to infinite recursive calls.

E.g the following procedure will eventually generate "Stack overflow"

procedure MyRecursiveProblem()
begin
//Calling itself (eventually it will give stack overflow)
MyRecursiveProblem();
end;

To check if you really have infinite recursive calls put a debug stop point in your suspected procedure or function and investigate.

Hope this helps you ...





"It is in our collective behaviour that we are most mysterious" Lewis Thomas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top