以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  求助:未找到类型“Button”的公共成员“value”  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=44619)

--  作者:远航
--  发布时间:2014/1/5 9:43:00
--  求助:未找到类型“Button”的公共成员“value”

做了个查询窗口 查找按钮代码为

Dim yddh As String = e.Form.controls("Button1").value
    If yddh IsNot Nothing Then
        Dim filter As String = "姓名 = \'" & yddh & "\'"
        Tables("档案").filter = (filter)
    End If

提示 未找到类型“Button”的公共成员“value”   

   为什么


--  作者:y2287958
--  发布时间:2014/1/5 10:02:00
--  
用Text替代value试试
--  作者:程兴刚
--  发布时间:2014/1/5 10:17:00
--  
Button本来就没有value值,只有Text属性