随笔分类 -  Lotus Notes

 
$$解说
摘要:$$ReturnGeneralError$$SearchTemplateDefault$$ViewTemplate for base$$ViewTemplateDefault.AppFormSearchinformation这些是什么表单?他们的命名有什么意义和用法?第一个,是当系统返回错误是,使用的表单;第二个,是查询表单;第三个,是用来显示base视图的表单;第四个,为默认表单,也就是说,你打... 阅读全文
posted @ 2005-12-22 13:20 helloxuxu 阅读(571) 评论(2) 推荐(0)
Lotus B/S开发笔记一
摘要:根据当前用户名称在组织单元库中查找用户的单位及部门。 参考:用户信息表单 sys_user 用户所属单位域 txt_BelongtoUnit 用户所属部门域 txt_BelongtoDepartment (供其它库选人员)视图 (AllUser) REM {根据当前用户的名字计算出拟稿人所在部门}; server:=@Name([CN];@Subset(@DbName;1)); path:=@Le... 阅读全文
posted @ 2005-12-22 13:17 helloxuxu 阅读(430) 评论(0) 推荐(0)
@Commands on the Web
摘要:CalendarFormatCalendarGotoClearCloseWindowComposeEditClearEditDocumentEmptyTrashFileCloseWindowFileOpenDatabaseFileSaveFolderFolderDocumentsMoveToTrashNavigateNextNavigateNextMainNavigatePrevNavigateP... 阅读全文
posted @ 2005-12-21 11:32 helloxuxu 阅读(145) 评论(0) 推荐(0)
field与item的区分
摘要:field可以比喻为酒瓶,而item可以看做是酒瓶里的酒。要想得到域里面的内容,就象想知道某瓶子装的是什么酒。那么至少你得先找到这个瓶(field),然后才能喝了才能知道里边是什么酒(item)。这么说明白了吗?但在ls中,一般field是用来体现这个瓶子是什么性质的,是玻璃和还塑料的?(field的属性),如果你不关心这些,只想喝到里边的酒,倒不如直接说我要“青岛”更方便。doc.域名(0)或:... 阅读全文
posted @ 2005-12-21 10:00 helloxuxu 阅读(287) 评论(0) 推荐(0)
lotusnotes常用代码
摘要: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)
Lotus中Form与Document的区别
摘要: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)