
DOMINO
古老的未来_old
这个作者很懒,什么都没留下…
展开
-
DOMINO中公式或符号
DOMINO中公式的 或符号 “|”原创 2015-08-09 08:09:46 · 767 阅读 · 0 评论 -
公式获取随机码
@Random获取两个数之间的随机数( y - x )*@Random + x原创 2015-08-10 22:02:47 · 1485 阅读 · 0 评论 -
lotusScript文件夹操作
Dim tmpDoc As NotesDocument Call tmpDoc.PutInFolder( "folder ",True)原创 2015-08-10 22:03:31 · 618 阅读 · 0 评论 -
结束当前操作
Ctrl+break原创 2015-08-10 22:04:54 · 311 阅读 · 0 评论 -
通过公式运行代理
@Command ([ToolsRunMacro]; "Cleanup")原创 2015-08-10 22:08:47 · 390 阅读 · 0 评论 -
给域追加值
item.AppendToTextList( "王小珍" )原创 2015-08-10 22:01:38 · 372 阅读 · 0 评论 -
禁止编辑表单
Sub Querymodechange(Source As Notesuidocument, Continue As Variant)if Source.document.状态域(0)= "已完成 " then Continue=FalseEnd Sub原创 2015-08-10 22:04:26 · 718 阅读 · 0 评论 -
NOTES收邮件配置注意事项
不能把SSL打勾原创 2015-08-10 22:05:30 · 460 阅读 · 0 评论 -
设置域的值
@setfield( "saveoptions "; "1 ");原创 2015-08-10 22:00:37 · 448 阅读 · 0 评论 -
DOMINO四舍五入
@TEXT(@Round(137.605;0.01)) LS中:Round原创 2015-08-10 22:02:22 · 496 阅读 · 0 评论 -
跳转到指定位置
路径两端加[],例:[/studyform.nsf]原创 2015-08-10 22:06:08 · 422 阅读 · 0 评论 -
DbLookup的使用方法
@DbLookup("":"NoCache";"":path; "AllUsersList";@Name([CN];@UserName);3);@DbLookup( class : cache ; server : database ; view ; key ; fieldName ; keywords )@DbLookup( class : cache ; server : databa原创 2015-08-20 04:27:26 · 1846 阅读 · 0 评论 -
读取txt文件内容的方法
' Display the contents of c:\config.sys a line at a time. Dim text As String, fileNum As Integer fileNum% = Freefile() Open "e:\bai.txt " For Input As原创 2015-08-20 04:30:12 · 590 阅读 · 0 评论 -
获取指定数据库
Dim Session as New NotesSessionDim DB as NotesDatabaseset DB = Session.GetDatabase("","names.nsf")//这里换成你的数据库地址,注意路径原创 2015-08-20 04:27:55 · 364 阅读 · 0 评论 -
获取data目录的位置
Dim sess As New NotesSessionDim db As NotesDatabaseDim path As String Dim filePath As StringSet db = sess.CurrentDatabasepath = sess.GetEnvironmentString("Directory",True)filePath = path原创 2015-08-20 04:29:12 · 637 阅读 · 0 评论 -
常用的字符操作公式
@Begins@Contains(针对多值域)@Ends@Left@LeftBack@MiddleBack@Right@RightBack原创 2015-08-20 04:28:37 · 679 阅读 · 0 评论 -
多值域相加
假如我们有category1变量为下列值:“AA”:”BB”:”CC”:”DD”又有category2变量为下列值:“DD”:”CC”:”BB”:”AA”则category1+category2+”ZZ”的结果是:“AADDZZ”:”BBCCZZ”:”CCBBZZ”:”DDAAZZ”原创 2015-08-10 22:09:27 · 434 阅读 · 0 评论 -
替换域的值
Set item = aadoc.ReplaceItemValue("FullName","王小珍/ldbzj" )原创 2015-08-10 22:01:04 · 643 阅读 · 0 评论 -
LoutsScript中的不等号
LoutsScript中的不等号原创 2015-08-09 08:11:43 · 283 阅读 · 0 评论 -
LotusScript查询指定字符在字符串中的位置
InStr函数原创 2015-08-09 20:24:42 · 928 阅读 · 0 评论 -
RTF的使用
1、替换RTF域中的回车换行符Replace(Replace(funrtf.GetUnformattedText,Chr(13),""),Chr(10),"")2、RTF用法Dim rtfReader As VariantSet rtfReader = doc.GetFirstItem("ReadersID")If Instr(rtfReader.Text,user.ID)=0原创 2015-08-09 20:27:24 · 1455 阅读 · 0 评论 -
LotusScript格式化字符串
Dim session As New notessession Dim db As notesdatabase Dim docTmp As NotesDocument Dim GetServerDate as String Dim dateTime As New NotesDateTime( "" ) Set db = ses原创 2015-08-09 20:28:05 · 902 阅读 · 0 评论 -
公式获取传递参数
@UrlQueryString("bai")原创 2015-08-09 20:28:39 · 669 阅读 · 0 评论 -
DOMINO获取当前数据库
"/"+@ReplaceSubstring(@Subset(@DbName; -1); "\\"; "/")+"/SendOver.jpg"@WebDbName 例:programs/modules/khgl/ClientManage.nsf原创 2015-08-09 20:29:27 · 893 阅读 · 0 评论 -
LotusScript获取一个视图中所有文档
This agent prints the number of document entries in a view.import lotus.domino.*;public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSess原创 2015-08-09 20:31:22 · 1468 阅读 · 0 评论 -
LotusScript判断文档是否存在
判断文档不存在If doc Is Nothing ThenMessagebox "bai"End If原创 2015-08-09 20:32:17 · 532 阅读 · 0 评论 -
公式复选框列
列公式为: “”+@text(@DocumentUniqueID)+ “>”。 HTML: 允许 不允许原创 2015-08-09 20:33:05 · 421 阅读 · 0 评论 -
@IsMember的使用
@IsMember( textValue ; textListValue ) @IsMember( textListValue1 ; textListValue2 )1. This example returns 1. @IsMember("computer";"printer":"computer":"monitor") 2. This example returns 0.原创 2015-08-09 08:07:07 · 1078 阅读 · 0 评论 -
Domino内置域
Form :这是表单名SendTo:发件人Subject:发件主题SaveOptions:如果是0则文档不保存,默认是1MailOptions:如果是1,则文档关闭时要被邮寄,默认是0$$Return: 这是WEB下提交页面的返回内容$$HTMLHead:这是4。6版本用的,表示页面HEAD的内容,$$HTMLBody:这是4。6版本用的,表示页面Body的属性$A原创 2015-08-09 08:08:59 · 667 阅读 · 0 评论 -
@while的用法
This agent displays the elements of the Categories field one at a time.n := 1;@While(n @Prompt([OK]; "Category " + @Text(n); Categories[n]);n := n + 1)原创 2015-08-09 08:13:09 · 498 阅读 · 0 评论 -
LotusScript捕捉错误
Sub InitializeOn Error Goto errhandlerexit suberrhandler:Msgbox "TextFile_Save 出错: " & Error$ & " on line " & Cstr(Erl)Resume NextEnd Sub原创 2015-08-09 08:14:10 · 306 阅读 · 0 评论 -
Domino日期操作相关
(1)、将字符串格式的日期转为日期格式@TextToTime 例:@TextToTime("1987-05-18") (2)、查询日期假如被搜索文档中没有日期域。用@Created. searchStr =searchStr+ { & @Created (3)、公式中日期的比较@Date(@Today)>@Date(@Adjust(Created;0;0原创 2015-08-10 21:58:58 · 4516 阅读 · 0 评论 -
公式保存文件
thisdb:=@ReplaceSubstring(@Subset(@DbName;-1);"\\";"/");@Command([FileSave]);@URLOpen("/"+thisdb+"/all/"+@Text(@DocumentUniqueID)+"?editdocument")原创 2015-08-10 22:00:04 · 348 阅读 · 0 评论 -
获取当前文档
Set note = session.DocumentContext原创 2015-08-20 04:29:44 · 352 阅读 · 0 评论