1、
一、用筛选
sele alianame
set filter to 英语>60
二、用查询语句
select * from alianame where 英语>60 into cursor temp1
thisform.grid1.recordsource='temp1'
2、
什么东西的源代码,你老师不会要表单的源代码吧,天,晕,
一、用筛选
sele alianame
set filter to 英语>60
二、用查询语句
select * from alianame where 英语>60 into cursor temp1
thisform.grid1.recordsource='temp1'
2、
什么东西的源代码,你老师不会要表单的源代码吧,天,晕,
thisform.grid1.recordsourcetype=1
thisform.grid1.recordsource='ABC'
thisform.refresh2.我不明白
不过用SQL也可以首先把grid1的recordsourcetype设为4,
然后再在表单的程序语句中写:
thisform.grid1.recordsource='select * from alianame where 英语>60 into cursor temp1'
是这样么?
select * from alianame where 条件1 and 条件2 into cursor temp1
thisform.grid1.recordsource='temp1'
如果用liuri(璇玑)说的另一种方法set filter to 的话,也是
set filter to 条件1 and 条件2
第二个问题:
有个简单的方法,
copy file formname.sct to filename.txt
这样你就可以把该表单的源代码转换到文本文件了。
补充一下,如果想刷新,需要在程序中调用“thisform.grid1.requery”