Foxtable(狐表)用户栏目专家坐堂 → 组合代码编写 求助


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

主题:组合代码编写 求助

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


加好友 发短信
等级:九尾狐 帖子:2482 积分:22932 威望:0 精华:0 注册:2011/3/29 17:14:00
组合代码编写 求助  发帖心情 Post By:2014/7/1 11:23:00 [显示全部帖子]

Case "配图_A","配图_竖A","配图_横A"
            e.SubFolder = dr("文件归档")  & "\"  & "帮助配图"

 

 


        Case "配图_A附件","配图_竖A附件","配图_横A附件"
            SystemReady = False
            e.SubFolder =dr("文件归档")  & "\"  & "帮助配图"
            dr("配图_A","配图_竖A","配图_横A") = iif(dr.IsNull("配图_A","配图_竖A","配图_横A"), e.SubFolder & "\" & e.FileName, dr("配图_A","配图_竖A","配图_横A") & chr(13) & e.SubFolder & "\" & e.FileName)
            SystemReady = True

 

 

 

 

红色的这段要怎么修改  ,现在这样会有错误提示

 

---------------------------
错误
---------------------------
编译错误:没有可访问的“Item”接受此数目的参数,因此重载决策失败。

 

错误代码:dr("配图_A","配图_竖A","配图_横A") = iif(dr.IsNull("配图_A","配图_竖A","配图_横A"), e.SubFolder & "\" & e.FileName, dr("配图_A","配图_竖A","配图_横A") & chr(13) & e.SubFolder & "\" & e.FileName)
---------------------------
确定  
---------------------------


 回到顶部