?
Solved

Hide formula

Posted on 2000-03-08
3
Medium Priority
?
248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
Simon_Hendry earned 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

765 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