参考代码
m r As Row = Tables("员工").Current
Dim str As String = r("照片")
Dim count As Integer = r.DataRow.Lines("照片").Count
FileSys.CopyFile(e.FullPath, ProjectPath & "Attachments\" & r("工号") & count & ".jpg" ,True)
r("照片") = iif(str>"",str & vbcrlf, "") & r("工号") & count & ".jpg"
[此贴子已经被作者于2017/6/30 16:43:37编辑过]