Foxtable(狐表)用户栏目专家坐堂 → 如何根据档号关联挂接?


  共有5122人关注过本帖平板打印复制链接

主题:如何根据档号关联挂接?

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


加好友 发短信
等级:超级版主 帖子:107861 积分:548662 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2022/9/13 8:58:00 [只看该作者]

参考:http://www.foxtable.com/webhelp/topics/0331.htm

For Each dir As String In FileSys.GetDirectories(projectpath & "attachments\data")
For Each File As String In FileSys.GetFiles(dir)
   dim fn as string = FileSys.GetName(File)
dim dh as string = fn.split(".")(0)
dim dr as datarow = datatables("文件库").find("档号='" & dh & "'")
if dr isnot nothing then
dr("数字档案") = FileSys.GetName(dir) & "\" & fn
end if
Next
Next

 回到顶部