Foxtable(狐表)用户栏目专家坐堂 → [求助]如何实现共用下拉窗口


  共有5159人关注过本帖树形打印复制链接

主题:[求助]如何实现共用下拉窗口

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2013/12/12 21:08:00 [显示全部帖子]

 代码类似这样改

Dim tbl As Table = Tables("编码下拉窗口_Table1")
If tbl.Current IsNot Nothing Then
    If e.Form.DropDownBox.BindingField Like "表A*1" Then
        Tables("表A").Current("手术编码1") = tbl.Current("icd9")
        Tables("表A").Current("手术操作名称1") = tbl.Current("手术名称")
    Else If e.Form.DropDownBox.BindingField Like "表A*2" Then
        Tables("表A").Current("手术编码2") = tbl.Current("icd9")
        Tables("表A").Current("手术操作名称2") = tbl.Current("手术名称") 
    End If
End If
Forms("编码下拉窗口").Close()

 回到顶部