楼上,咱们使用临时表不更好吗,临时表关闭时可自己删除,不存在数据积累的问题
thisform.grid1.RecordSourceType=4
thisform.grid1.RecordSource="SELECT * FROM 保安部 into cursor temp1"
thisform.grid1.RecordSourceType=4
thisform.grid1.RecordSource="SELECT * FROM 保安部 into cursor temp1"
两人行已有我师……