getattachsstring.asp
来自「功能齐全的oa系统」· ASP 代码 · 共 20 行
ASP
20 行
<%
Function GetAttachsString(ObjDB,Attachs)
Dim ObjRS,StrSQL
Dim AttachIDs
Dim StrTmp,ShowAttachs
If IsNull(Attachs) Then Attachs = ""
If Attachs = "" Then
ShowAttachs = ""
Exit Function
End If
AttachIDs = "'" & Replace(Attachs,",","','") & "'"
StrSQL = "Select * From t_OA_Attach Where KeyPath In (" & AttachIDs & ")"
Set ObjRS = ObjDB.Execute(StrSQL)
While Not ObjRS.Eof
StrTmp = StrTmp & ObjRS("FileName") & " "
ObjRS.MoveNext
Wend
GetAttachsString = StrTmp
End Function
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?