vfp 一个表单中有两个表格控件,想要两个表格同时显示数据
想要同时显示两个表格中的数据 grid1 中应该要同时显示 1-13 的记录 可是显示没有查询的代码是:
select adminl
thisform.pageframe1.page5.grid1.recordsourcetype = 4
thisform.pageframe1.page5.grid2.recordsourcetype = 4
thisform.pageframe1.page5.grid1.recordsource="select adminl.number,joint,name,nationality from adminl where mod(recno(),2)=1"
thisform.pageframe1.page5.grid2.recordsource="select adminl.number,joint,name,nationality from adminl where mod(recno(),2)=0"
thisform.pageframe1.
thisform.refresh