首页 > 代码库 > PickList的使用,按钮弹出框选择一个文档带出多个值
PickList的使用,按钮弹出框选择一个文档带出多个值
Sub Click(Source As Button) Dim ss As New NotesSession Dim ws As New notesuiworkspace Dim CurDB As NotesDatabase Dim db As NotesDatabase Dim uidoc As notesuidocument Dim vw As NotesView Dim doc As NotesDocument Dim doc1 As NotesDocument Dim wldoc As NotesDocument Dim collection As NotesDocumentCollection Set uidoc=ws.currentdocument Set doc=uidoc.document Set CurDB = ss.CurrentDatabase Set vw = CurDB.GetView("") Set wldoc = vw.GetDocumentByKey("") If Not wldoc Is Nothing Then Set collection = ws.PickListCollection(PICKLIST_CUSTOM,False,wldoc.DestDbServer(0),wldoc.DestDbPath(0),wldoc.DestDbView1(0),"","" ) If collection.Count = 0 Then Exit Sub Else Set doc1=collection.GetFirstDocument If Not ( doc1 Is Nothing ) Then doc.CpName=.....
doc.chanpinming = ....
End If End If End If End Sub
PickList的使用,按钮弹出框选择一个文档带出多个值
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。