Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to requery() a grid ??
Message
From
09/09/1998 16:06:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00134108
Message ID:
00134771
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform