General information
Category:
Forms & Form designer
>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()
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only