If e.Selected Then '如果选择了值
Dim tbl As Table = Tables("产品表产品型号_Table1")
If tbl.Current IsNot Nothing Then
e.Form.DropDownBox.Value = tbl.Current("型号")
Dim r As Row = e.Form.DropTable.Current
r("名称") = tbl.Current("名称")
r("光源") = tbl.Current("光源")
r("功率") = tbl.Current("功率")
r("角度") = tbl.Current("角度")
r("色温") = tbl.Current("色温")
r("配置说明") = tbl.Current("配置说明")
r("产品图") = tbl.Current("产品图")
r("单价") = tbl.Current("经价")
r("业主价") = tbl.Current("业主价")
r("公共附件") = tbl.Current("公共附件")
r("型号") = tbl.Current("型号")
End If
End If
原代码中已有了