Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid error - Cannot access the selected table
Message
De
03/01/2008 16:45:40
 
 
À
03/01/2008 14:50:51
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:
01279359
Vues:
13
>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()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform