TempDBF="C:\TEMP\TEMP.DBF" thisform.GridRefreshing = .T. close tables copy file "&SourceDBF" to "&TempDBF" use &TempDBF with thisform.MyGrid .RecordSource = "&TempDBF" && I want the 4 columns to show field 1,3,5,7 of the table: .column1.controlsource="Field1" .column2.controlsource="Field3" .column3.controlsource="Field5" .column4.controlsource="Field7" endwith thisform.Refresh DOEVENTS thisform.GridRefreshing = .F.At design time, the init value of RecordSourceType of the grid is "table", RecordSource is "TEMP". Also for each column I have set the init value of controlSource as above.