Solved

Hide formula

Posted on 2000-03-08
3
242 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 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