Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid error - Cannot access the selected table
Message
De
03/01/2008 14:42:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01279248
Message ID:
01279326
Vues:
14
>>Hi,
>>I'm getting the error "Cannot access the selected table" when referencing a grid as in
THIS.GRID.SETALL("MousePointer",11)
I'm assuming that the problem is related to databinding but all appears OK in the debugger. I can't trap the error using TRY...CATCH and subsequent references are OK.
>>
>>Guess my VFP's a bit rusty so any suggestions welcome,
>>Regards,
>>Viv
>
>Where do you have this code?
Just a regular method. No timer, event trigger etc....

Is the name of the grid GRID?
Yes (as in THISFORM.Grid). Why might that be a problem?

>What if you rename it?
Dunno, but I bet no change <s>..

>See also Cannot access selected table error FAQ #18812
This may be relevant although the context is a listbox rather than a grid.
It's possible that the cursor is being recreated with the same name but in a different work area. I'll dig a bit on this.
Thx,
Viv
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform