Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a simple button

Status
Not open for further replies.

RetrogradePAK

IS-IT--Management
Apr 29, 2002
170
CA
we have lotus 6.5.5 and have 6 different servers. All have a particular DB called pakbb.nsf under the Apps folder. What I need is to design a button that can be sent to all our of users. Any user when he/she clickson the button will enable them to view tha pakbb.nsf database that is locally residing on their server. Is it possible?
 
You have 6 different servers, but where are the user's mail files stored ?

If the user's mail files are on the same server as their local pakbb db, then simply calling @Command([FileOpenDatabase];"":"Apps\pakbb.nsf") should do the trick.

Pascal.

I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
thanks mail file reside under the mail\ folder

the button works but can it be made intelligent enough that when we send it to all of staff who have different server, the button should open the pakbb.nsf replica on their local server, is it possible to include the server name parameter so that the local server name is passed to the command?
 
By not specifying the server name, the code is supposed to take the local server.
Check the Designer Help on @Command([FileOpenDatabase]) and you'll see.


Pascal.

I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
the command @Command([FileOpenDatabase];"":"Apps/pakbb.nsf itself does not work until I enter the server name like:
@Command([FileOpenDatabase];"PAKAMail01":"Apps/pakbb.nsf
 
In that case you need to extract the current server name and feed that to the Command :

Code:
WKserver = @Subset(@DbName;1);
@Command([FileOpenDatabase];WKserver:"Apps\pakbb.nsf")

Pascal.

I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top