能对一个表格的数据源进行筛选操作,结果还是反映在这个表格上?
能对一个表格的数据源进行筛选操作,结果还是反映在这个表格上?SQLEXEC(con1,"select a.*,tel as 业主电话,mobile as 业主手机,calibre as 口径 from bx a,m_meter b,a_client c,a_card d where a.卡号 =d.card_no and d.client_no = c.client_no and b.meter_id = d.meter_id order by 报修时间 desc","bx2")
thisform.grid1.recordsource="bx2"
从数据库里取出数据到表格上,然后根据条件进行筛选,再反应在表格上?
select * from bx2 where 维修标记="受理" into cursor bx02
thisform.grid1.recordsource="bx2"