SELECT 字段1,字段2 from a into table b
thisform.grid1.ColumnCount =-1
thisform.grid1.RecordSourceType = 1
thisform.grid1.RecordSource ="b"
thisform.Refresh
SELECT 字段1,字段2 from a into table b
thisform.grid1.ColumnCount =-1
thisform.grid1.RecordSourceType = 1
thisform.grid1.RecordSource ="b"
thisform.Refresh