Hello everyone:
I have a complex situation that is giving me an Internal Consistency Error! Here's the setup:
- main.prg calls formA.scx
- formA.init() contains code that instantiates a form (we'll call it formB) with 2 buttons whose class definitions are contained in main.prg
- formA is actually passed as a parameter to formB so I can easily manupilate things on formA through formB's buttons (I had trouble getting them to talk to each other initially is why I did this)
To help track down a "Cannot access selected table" error, I put a suspend in a program called deleteForm.prg which is called from one of the buttons defined in main.prg. I use F8 in the debugger to step through the program, and it ends sucessfully, returning control to main.prg (in the delete buttons click procedure in the class definition).
Now, SOMETIMES, but not always, I will get the Internal Consistency error while going through this part of the code. Without a suspend, however, I don't get this error. I only get the "Cannot access selected table" error, after which my program seems to continue operating perfectly. Has ANYONE got a clue what this error is all about?
Paul A. Busbey
Victoria Insurance