• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

How to launch a database on Notes startup

Is it possible to launch a notes database on starting up my notes client. If so, then please help me out. I am using Notes 4.6.

Note: I want to achive this functionality programetically and not through the user preferences.
0
susan_tan
Asked:
susan_tan
1 Solution
 
amit_duttaCommented:
Hello Susan,

Yes, it is possible to launch a notes database on startup of notes client. All u need to do is setup an environment variable called "StartupDB" with the replica id of the database u want to launch. Each database has an unique 16 bit replica id, which u can get by viewing the database properties.

If u r using furmula language then u can set the environment variable by using @SetEnvironment("StartupDB"; ReplicaID) function. In script language use session.SetEnvironmentVar("StartupDB", ReplicaID, True)

I hope this will serve ur purpose.
0
 
susan_tanAuthor Commented:
I never thought it will be so simple. I tried it out and it really works. Thanks a lot Amit.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now