Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Update with F9 automaticly within a form

Posted on 2000-04-07
1
Medium Priority
?
284 Views
Last Modified: 2013-12-18
Hi

We have Notes and Domino 5.02b

I have in a database a form that opens a view against the maildatabase. If at user have this database open (it is bookmarked by default in our organisation) and also the maildatabase open in a normal way and shut down Notes he/she get a red panicmessage.

We have tracked that error to the database. The two views is not syncronize between each other. If the user delete mail in the normal view it not update the special database and the message lost handle etc appear.

If a user press F9 and syncronize the two views before he shut down Notes the problem disappear.

Is it possible to inside a lotusscript generate a F9 before the database shut down (i e when the user shut down Notes). That would update the view before it closes and the problem is solved, I think.
0
Comment
Question by:tord_f
[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
1 Comment
 
LVL 7

Accepted Solution

by:
Z_Beeblebrox earned 800 total points
ID: 2695066
Without knowing more about the "special database," it is hard to provide specific instructions. However here is what the script would look like:

Dim workspace As New NotesUIWorkspace
Call workspace.OpenDatabase _
("Server", "database", "view")
Call workspace.ViewRefresh

I'm not completely sure that this will do the trick, but it probably will. This is hard to test since it happens so fast that you can't see if it is working.

Anyways, put that script in the QueryClose event of the mail database, or you could put it in the "special database", in which case you would need to link to the database using the source and doing a source.getview and then refreshing that.

Hope this helps,

Zaphod.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

721 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