问题一:
我把grid的RecordSourceType设置为4(SQL 语句),初始时RecordSource=sele * from mytable
在我的表单中还有一个commbo,为其InterActiveChange事件设置如下语句:
thisform.grid1.RecordSource="sele * from mytable where alltrim(某字段)=this.value
thisform.refresh
可运行时为什么总先弹出一个查询结果?我只能人工给关闭掉。我的Grid也显示的是查询结果。
问题二:
请问各位朋友!大家是如何运用查询的???请简章举个例子!!谢谢。。。。。