Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant see records from a query
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00284894
Message ID:
00284906
Views:
11
>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
Map
View

Click here to load this message in the networking platform