Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid error - Cannot access the selected table
Message
From
03/01/2008 16:45:40
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01279248
Message ID:
01279359
Views:
14
>I should probably mention that the method in which this error occurs is run twice - the first time without error. The cursor to which the grid is bound is maybe (not sure - need to dig) being re-created but with the same name and fields.
>
>Oddly (if it's a binding problem) I can't even issue 'ThisForm.Grid.RecordSource=""' without getting the error....
>
>Regards,
>Viv

Never set grid.recordsource="", this will only cause problems. Instead use this technique
Select **whatever** into cursor curdummy
Select CursorWhichDrivesGrid
Zap
Append from dbf('curdummy')
Yourgrid.refresh()
Previous
Reply
Map
View

Click here to load this message in the networking platform