Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement