Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo's gotfocus?
Message
 
 
To
11/08/2004 04:12:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00932257
Message ID:
00932280
Views:
7
Take a look at Cannot access selected table error FAQ #18812.

>There's a form with a combo. I use the code below in the combos' gotfocus event. When the form running and the combo loses and after gets its focus back, I get the error message: "Cannot access the selected table". Why cant I have access to the tables when they are open?
>
>
>lnCntUsed = AUSED( laUsed )
>FOR lnSessCnt = 1 TO lnCntUsed
>SELECT ( laUsed[lnSessCnt,2] )
>IF CURSORGETPROP( 'Buffering' ) > 1
>TABLEREVERT( .T. )
>ENDIF
>USE
>NEXT
>
>USE table1 IN 1
>USE table2 IN 2
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform