Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to requery() a grid ??
Message
De
09/09/1998 16:06:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00134108
Message ID:
00134771
Vues:
15
>Claude,
>
>You may try this where you are calling your spell checker:
>
>ThisForm.LockScreen = .t.
>ThisForm.PageFrame1.Page1.Grid1.RecordSource = ''
>Do Spell Checking
>ThisForm.PageFrame1.Page1.Grid1.RecordSource = 'tablename'
>ThisForm.LockScreen = .f.
>
>HTH


Thanks, it worked by reseting "RecordSource" property.
Also, it seemed like I had to force a refresh of child grid by doing
a locate on the parent table.

currentRec = parent.myfield

ThisForm.PageFrame.Page1.Grid.RecordSource = ''
... do speller
ThisForm.PageFrame.Page1.Grid.RecordSource = 'table2'

SELECT parent
LOCATE FOR myfield = currentRec
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform