回 帖 发 新 帖 刷新版面

主题:难道没有PB高手吗?

由于刚开始学习PB,有一些问题解决不了。
想用一个ddlb_1,和em_1(日期),做一个查询,但是代码不知道怎么了,就是查询不出来想要的结果。
string  _pm
string lookfortogether
if ddlb_1.text="" then
    lookfortogether="pm="+""+"ddlb_1.text"+""
end if
if em_1.text<>"" then
    if lookfortogether=""then
        lookfortogether="pm="+""+em_1.text+""
    else
        lookfortogether=lookfortogether+"and"+"pm="+""+em_1.text+""
    end if
end if 
dw_1.setfilter(lookfortogether)
filter(dw_1)
dw_1.retrieve()
请各位高手帮帮忙吧。先谢谢了!^-^

回复列表 (共1个回复)

沙发

不知道 你想要做什么

我来回复

您尚未登录,请登录后再回复。点此登录或注册