Foxtable(狐表)用户栏目专家坐堂 → Exception has been thrown by the target of an invocation.


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

主题:Exception has been thrown by the target of an invocation.

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


加好友 发短信
等级:超级版主 帖子:111381 积分:566969 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/8/2 11:41:00 [显示全部帖子]

看那一句代码出错,调试技巧:http://www.foxtable.com/webhelp/scr/1485.htm

With .AddSelect("dq","地区","|" & DataTables("可用车辆").GetComboListString("地区 ")) 有个多余空格

    Case  "getProducts.htm"
        Dim vals As String
        If e.PostValues.Count = 1 Then
msgbox(e.PostValues("dq")) ‘看看传入什么值
            vals  = "|" & DataTables("可用车辆").GetComboListString("网点","地区='" &  e.PostValues("dq") & "'")
        ElseIf e.PostValues.Count = 2 Then
            Dim Filter As String = "地区='" & e.PostValues("dq") & "' And 网点='" &  e.PostValues("wd") & "'"
msgbox(Filter ) ‘看看传入什么值
            vals = "|" & DataTables("可用车辆").GetComboListString("车牌", Filter)
        ElseIf e.PostValues.Count = 3 Then
            Dim Filter1 As String = "网点='" & e.PostValues("wd") & "' And 车牌='" &  e.PostValues("cp") & "'"
msgbox(Filter1 ) ‘看看传入什么值
            vals = "|" & DataTables("可用车辆").GetComboListString("车架", Filter1)
        End If
        e.WriteString(vals)

 回到顶部