如何用LS获取本地数据库

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这个位置应该怎么表示?(不能用"",因为代码放在服务器上)收起
参与12

查看其它 8 个回答clockmaker的回答

clockmakerclockmaker项目经理
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.
软件开发 · 2014-12-25
浏览1018

回答者

clockmaker
项目经理
擅长领域: 系统管理服务器监控

clockmaker 最近回答过的问题

回答状态

  • 发布时间:2014-12-25
  • 关注会员:1 人
  • 回答浏览:1018
  • X社区推广