以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- AddSelect的onchange事件 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=132476) |
-- 作者:756488317 -- 发布时间:2019/3/22 15:46:00 -- AddSelect的onchange事件 请大神帮忙看看,在按钮上面的列表框值改变后,让按钮下面的文本框显示对应行的信息 Case "yuyue.htm" \'自助约课 Dim PageNumber As Integer = e.GetValues("page") Dim PrimaryKey As Integer = e.GetValues("key") Dim dr3 As DataRow = DataTables("课程安排").SQLFind("[_Identify]=" & PrimaryKey) Dim dr4 As DataRow = DataTables("会员信息表").SQLFind("联系册_第一联系人_手机号 = \'" & username & "\'") Dim khbh As String = dr4.SQLGetValue("客户编号") If e.PostValues.Count = 0 Then \'生成课程预约网页 wb.AddForm("","form1","test.htm") With wb.AddInputGroup("form1","ipg1","请选择课包") With .AddSelect("htbh","合同编号","|" & DataTables("会员合同明细").GetComboListString("合同编号","[客户编号] = \'" & khbh & "\'")) \'建立合同选择列表框 \'.Attribute = "" End With End With Dim drht As DataRow = DataTables("会员合同明细").SQLFind("[合同编号] =\'" & e.PostValues("htbh") & "\'") With wb.AddListGroup("","lsg1","合同信息") .Add("ls3","合同状态","dqhtzt") .Add("ls3","到期时间","dqhtsj") .Add("ls3","合同类型","dqhtlx") End With With wb.AddButtonGroup("form1","btg1",True) .Add("btn1", "确定", "submit") End With End If |
-- 作者:有点蓝 -- 发布时间:2019/3/22 20:26:00 -- 参考:http://www.foxtable.com/mobilehelp/scr/0103.htm |
-- 作者:756488317 -- 发布时间:2019/3/23 9:23:00 -- 谢谢蓝老师 |