2005年12月19日

摘要: 1.检测当前用户是不是文档的创建者,如果不是,不允许编辑文档。 Sub Querymodechange(Source As Notesuidocument, Continue As Variant) Dim session As New NotesSession Dim doc As notesdocument Dim userName As New NotesName(session.Us... 阅读全文
posted @ 2005-12-19 13:56 helloxuxu 阅读(984) 评论(0) 推荐(0)
 
摘要: Sub Initialize Dim s As New NotesSession Dim db As NotesDatabase Dim a As String,b As String,Servername As String,dbpath As String Dim printstr As String,msgstr As String,urlstr As String Set db=s.C... 阅读全文
posted @ 2005-12-19 10:33 helloxuxu 阅读(279) 评论(0) 推荐(0)
 
摘要: Form 是生成和显示Document的框架,一个Form可以产生N份文档;Document是由一个个Field来构成;只要Form中的Field相同,一个Document可以由不同的Form来显示;但是,一份Document必须指定一个Form才能显示出来,当然,如果不指定Form,Document也可以存在,但是,没办法显示出来;View是一个容器,容纳符合条件的Document; 比如做月饼... 阅读全文
posted @ 2005-12-19 10:20 helloxuxu 阅读(782) 评论(0) 推荐(0)