Solved

Update with F9 automaticly within a form

Posted on 2000-04-07
1
283 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 200 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

623 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