Solved

Hide formula

Posted on 2000-03-08
3
239 Views
Last Modified: 2013-12-18
Suppose a document is created and then it will mail the entire document to receipent as well as saved in the one database.
I want to hide the one action button   when the user open this document by mail.
but unhide the button when user open the document from the database,
so what formula I should use in hide formula?
0
Comment
Question by:edwardy
3 Comments
 
LVL 3

Accepted Solution

by:
Simon_Hendry earned 50 total points
ID: 2598022
The best way to do this is to check whether the database the document is being opened in, is the users mail database , you can use the @MailDBName function to acheive this ...


If the databases are always going to be on the same server then use

@Subset(@MailDBName;-1) = @SubSet(@DBName;-1)

Or if their is a possiblity of the user mail database and the other database being on seperate servers and there is a possibility of another database having the same path as the users mail database on that other server (rare !!) you could use this function..

(@Subset(@MailDBName;-1) = @SubSet(@DBName;-1)) & (@Subset(@MailDBName;1) = @SubSet(@DBName;1))

This would hide the button if the current database is the users mail file..
0
 
LVL 6

Expert Comment

by:ghassan99
ID: 2598088
I like this solution:)

-Gus
0
 

Expert Comment

by:ikke_de_steve
ID: 2603830
If you send an mail, normaly you change the FORM field to "memo", so you can check of the FORM field is equal to "memo".

Good luck,

Ikke De Steve

PS.: In the database you have to change the FORM field back after you have send it the "memo".
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question