LS代码在服务器上某库中,用户通过notes客户端打开这个库触发执行LS代码。现在需要在LS代码中操作用户的本地数据库test.nsf。获取数据库这一句应该怎么写?Set DB = New NotesDatabase(Local,"test.nsf")主要是Local这个位置应该怎么表示?(不能用"",因为代码放在服务器上)...显示全部
LS代码在服务器上某库中,用户通过notes客户端打开这个库触发执行LS代码。现在需要在LS代码中操作用户的本地数据库test.nsf。获取数据库这一句应该怎么写?Set DB = New NotesDatabase(Local,"test.nsf") 主要是Local这个位置应该怎么表示?(不能用"",因为代码放在服务器上)收起
Set notesDatabase = notesSession.GetDatabase( server$, dbfile$ [, createonfail ] )
Parameters server$
String. The name of the server on which the database resides. Use an empty string ("") to indicate a database on the current computer: if the script runs on the workstation, the empty string indicates a local database; if the script runs on a server, it indicates a database on that server.