Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cant see records from a query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00284894
Message ID:
00284906
Vues:
10
>I have a screen A which calls screen B, whaose only purpose is to display records that match a particular criteria.
>
>Screen B Has basically 3 objects:
>1) A text box which allows input of selection text
>2) A 'Do query button' whose click code goes like:
> select * from myfile into cursor CUR
> this.parent.MYGRID.refresh
> thisform.refresh
> (I'm just guessing that the last two are correct)
>
>3) A Grid whose record source is CUR, and includes fields from CUR
>
>Now, after doing the selection, even though records are selected, I cannot get them to appear in Grid.If I exit the screen , and call it again from my A screen, they appear.
>
>Any help appreciated.
>
>regards,
>
>Gerard

Try,

set the grid.recordsource to " "
then after the query set the grid.recordsource to cur
grid.setfocus()
grid.refresh()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform