>I have a child grid in a form. In the form there are one text box and one command button. When clicking on the command button, the cursor goes to the text for entering the new entry. After entering the data, the data should appear in the child grid. After I do tableupdate and grid refresh, the grid is blanked out even though it has some records before. By the way, I set a relation in the data environment.
>
>Any ideas why this happens?
>
>Jim S
after the data is updated, requery the grid's datasource (if it is a view) and explicitly reset that recordsource:
requery('myview')
thisform.mygrid1.recordsource = 'myview')
thisform.refresh
Erik Moore
Clientelligence