查询指令
特急:
vb中,form2加载执行查询form1.text1.text,当form1.text1.text改变,form2的查询结果也跟着改变?怎么实现?
也就是加载form2时,可以执行查询,改变form1.text1.text,却不改变form2的查询结果?
查询语句是用:adodc1.refresh = "select * from a where b = '"+ form1.text1.text + "'"
[解决办法]
adodc1.recordsource = "select * from a where b = '"+ form1.text1.text + "'"
adodc1.refresh