>How do I refresh a grid after adding or deleting a record. This sound easy but nothing seems to work. I have a form with a page frame and 2 pages. Each page has a grid or two. Beside each grid is a “new” and “del” command button. Click the “new” button (do form xxx) and up pops a small form to collect the data entry, click the “save” and the record is INSERTed into the grids table. This all works fine. Now after adding a new record I need the grid to be repopulated / refreshed / repainted / what ever, to show the new record. Nothing works to do the refresh, other than clicking into the grid where magically the new entry appears.
>
>How can I refresh the grid programmatically.
>
>Thisform.refresh
>
>Thisform.pageframe1.refresh.
>
>Thisform.pageframe1.page1.refresh
>
>Thisform.pageframe1.page1.grdEmil.refresh
>
>Thisform.pageframe1.page1.grdEmail.text1.refresh.
>
>Go top
>
>NO OF THIS WORKS.
>
>Help?
>
>Dallas
Thisform.pageframe1.page1.grdEmail.SetFocus()
Thisform.pageframe1.page1.grdEmail.Refresh()