Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not access the selected table
Message
From
23/10/2013 17:39:24
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01586257
Message ID:
01586260
Views:
63
That error happens then the datasource for a combo gets closed before the combo is destroyed.

>Hi everybody,
>
>I am getting the following error when I try to close the application
>
>OK
>Help
>Cannot access the selected table. csrCategory.
>
>---------------
>In the code I am setting combos RowSources to empty string before re-selecting their cursors.
>
>The error only occurs when I try to close the main application and only under certain scenario, but it is consistent.
>
>I am not sure how to debug it as it doesn't give the normal debug dialog.
>
>Any ideas?
>
>Thanks in advance.
>
>------------------------------------
>UPDATE. I changed code to use different cursor names and it seems to resolve the problem - I am unable to reproduce. Hopefully it's fixed now.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform