Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access selected table
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00546743
Message ID:
00546773
Views:
13
Yes, look at the last line below.

>Are you using cursor whichoff as controls source for some other control?
>
>>I have gotten this message before "CANNOT ACCESS SELECTED TABLE" and unfortunately, it doesn't generate an error so it's hard to debug. But I now get it during the interactive change of listbox1:
>>If thisform.mylistbox1.selected(1)=.t.
>>select * from office2 into cursor whichoff
>>endi
>>If thisform.mylistbox1.selected(2)=.t.
>>select * from office1 into cursor whichoff
>>endi
>>If thisform.mylistbox1.selected(3)=.t.
>>select * from office0 into cursor whichoff
>>endi
>>If thisform.mylistbox1.selected(4)=.t.
>>select * from office9 into cursor whichoff
>>endi
>>
>>thisform.mylistbox4.rowsource='whichoff'
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Reply
Map
View

Click here to load this message in the networking platform