Solved

Update with F9 automaticly within a form

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LOtus Notes 6.5 low performance 13 36
Capture Serial Data in Lotus Notes Database 8 255
Lotus Domino Server Failure 1 176
lotus domino server console error 1 80
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now