Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access selected table
Message
From
29/10/1998 16:31:58
 
 
To
29/10/1998 16:25:21
Cheryl Qualset
Qualset Computer Consulting
Davis, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00145783
Message ID:
00152523
Views:
27
>>>>I have stepped through the whole thing and never USE anything in my custom code.
>>>>
>>>
>>>Are you sure you aren't putting code in a method that has code in the parent class? Make sure you have a dodefault() in all the methods that aren't ment to be hooks... Basically, if the work Hook is not in the method name, there is a good chance that there is code in the parent class/classes.
>>>
>>>>I can open my app, open this form, close it without touching anything, and get the error. Or, I can open the app, open the form, close the form, no error. It is sporatic. I can open the app, open and close the form 10 times and get the error twice. I can't give it to my users like this. I am stuck.
>>>>
>>>>Cheryl
>>>
>>>Very strange... check for the above. Do you watch that set window to see if an alias is closing premeturly. What kind of cursors are you using, cDynamicCursors?
>>>
>>>BOb
>>
>>CDynamicViewCursor
>>
>>I have not seen anything closing out of turn.
>>
>>I have looked through the code for the entire form class and I have not defined any custom properties (that could contain a dangling reference).
>>
>>I do have 4 comboboxes and I just tried setting the ItemTips to .F. and it made no difference.
>>
>>The only thing I am doing that is not default behavior for every object is:
>>A radio button on page 1 can add or remove the child record and enable/disable page 2.
>>
>>I am about to strip out all the child stuff and see if the problem persists.
>>
>>Thanks for your input. If anything else comes to mind, please let me know.
>>
>>Cheryl
>
>And another thing, the 'cannot access selected table' error messages are VFP errors, not my MM error handler.
>
>CQ

I know one situation which may invoke this error message: if you overwrite cursor which is used as combo.rowsource
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform