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!

Out of Slack Space VB6 to Access 2000 1

Status
Not open for further replies.

whipper

Technical User
Aug 4, 2002
8
US
I have setup all the DAO connections for VB6 to connect to Access 200 Db just fine. Everything was working ok, then I started getting the following error when I try and create a new record: "Out of Slack Space" to me this sounds like something with the harddrive, yet when I place this on a different computer it provides the same error. Any clues?
 
out-of-stack space usually occurs when you have recurrsion. If you write a function, that calls itself, you have recurrsion. If there's no way out of the loop, then, eventually, you run out of stack space.

For Example....

Code:
Private Sub MyFunction
    Call MyFunction
End Sub

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Same thing can happen in VB forms, such as when you have code in a TextChanged event that modifies the text.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I found the error, I had some irregular data in my form. Once I cleared out all the garbage it started working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top