Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access the selected table (Error 1152)
Message
From
19/11/1997 10:22:29
 
 
To
19/11/1997 10:17:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00061113
Message ID:
00061119
Views:
45
>Hi All!
>
>I'm doing a form with a pageframe, with a list on each page and some additional objects. Each list works with it own temporary table (created before load event of the form) and have RowSource type - Fields. I use SetFocus to switch between pages. During execution of the form the contents of tables changes and I use List.Requery to
>refresh list outlook. Sometimes during program execution I obtain error message 'Cannot access the selected table (Error 1152)'. Especially frequently this message appears when i switch between VFP and Debugger. At the same time list disapears from the page. I suggest that i do something wrong with list, but cannot find a reason. Can anybody help me? Does anybody struggle with this error before?
>
>Thanks in advance...
>
>Alexander Mitchenko, Kiev, Ukraine
>
>19.11.97

It might be wrong here, but I remember some situations when VFP controls don't like to have Rowsources (tables) open in work area #>256, and the error, you mention, will be generated. It can happen if you open temp tables using:
Select (select(1))
Use table1
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform