以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  AutoDeleteAttachFile 是这样用的吗?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=53428)

--  作者:老头
--  发布时间:2014/7/7 19:55:00
--  AutoDeleteAttachFile 是这样用的吗?

在表事件中,

 

If e.Col.Name = "凭证图片" Then
    e.Col.DataCol.ExtendType = ExtendTypeEnum.Images
    e.Col.DataCol.Remote  = True  
    e.Col.DataCol.AutoDeleteAttachFile = True    ‘------ 自己删除附件

End If

 

调试发现,附件不能自动删除。

 

请助。


--  作者:老头
--  发布时间:2014/7/7 20:03:00
--  

撤消..

 

 


--  作者:Bin
--  发布时间:2014/7/8 8:45:00
--  
在ALterOpenPprject中设置

DataTables("表A").DataCols("第一列").AutoDeleteAttachFile =True