grid里的check问题
我在thisform.pageframe1.page2的init里添加thisform.pageframe1.page2.grid2.visible=.t.
select xz as 选择,二级区 as 小区或路,六级区 from qy group by 二级区,xz,六级区 order by 二级区 INTO TABLE qy02
thisform.pageframe1.page2.grid2.recordsource="qy02"
gird2.Columns[1]我先删除了text1,添加了check1,然后设置Sparse = .f.
运行显示正常,
然后我在page2里添加了text1,并且在它的interactivechange里添加了thisform.pageframe1.page2.grid2.visible=.t.
select xz as 选择,二级区 as 小区或路,六级区 from qy WHERE 二级区 like '%'+?gjz+'%' group by 二级区,xz,六级区 order by 二级区 INTO TABLE qy10
SELECT * FROM qy10 INTO TABLE qy02
thisform.pageframe1.page2.grid2.recordsource="qy02"
SELECT qy02
REPLACE ALL 选择 WITH .f.
GO TOP
运行后没有了check
我就不知道是怎么回事了