See
Grid reconstruction and how to avoid it FAQ #8019
>I use a grid called course in one of my forms where I set all the properties of my grid.
>
>I modify my table called tblPRDET in my form and reset the grid recordSource to the table name. Each time I do this I lose all the previously set properties of my grid.
>
>Any ideas why this happens?
>
>THISFORM.pgf1.page2.grdCourse.RecordSourceType = 1
>THISFORM.pgf1.page2.grdCourse.RecordSource = "tblPRDET"
>THISFORM.pgf1.page2.grdCourse.Enabled = .T.
--sb--