Solved

Popup on open of View?

Posted on 2009-04-08
4
206 Views
Last Modified: 2013-12-18
Looking ot figure out a way to have an informational popup happen when a user open a paricular view. Is there a way to add code to the button to the view in the outline? Or could I put something in the QueryOpen that will generate a popup window when they enter the view?
0
Comment
Question by:jforget1
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
daj_uk earned 500 total points
ID: 24098228
You could put something in the PostOpen event of the view.  Example

      Dim workspace As New NotesUIWorkspace
      Dim askme As Integer
      askme = workspace.Prompt(PROMPT_OK, "Reminder", "A message here")

However, if the view is in a frameset it may show the message twice, but not always!
0
 

Author Comment

by:jforget1
ID: 24098728
This works for what I need, one last item. How can I convert this so the alert is on two lines in the prompt window.
Sub Postopen(Source As Notesuiview)
	Dim workspace As New NotesUIWorkspace
	Dim askme As Integer
	askme = workspace.Prompt(PROMPT_OK, "Note about Upgrade View", "This view will show all requests for BlackBerry upgrades. The form to request the upgrade is available from the New button in the left hand navigation. ")
End Sub

Open in new window

0
 
LVL 5

Expert Comment

by:daj_uk
ID: 24099132
Add a Chr(10) to force a new line.....



Sub Postopen(Source As Notesuiview)
        Dim workspace As New NotesUIWorkspace
        Dim askme As Integer
        askme = workspace.Prompt(PROMPT_OK, "Note about Upgrade View", "This view will show all requests for BlackBerry upgrades. " + Chr(10)+ "The form to request the upgrade is available from the New button in the left hand navigation. ")
End Sub

Open in new window

0
 

Author Closing Comment

by:jforget1
ID: 31568079
Worked great, thanks for the help.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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 "Estimate" form to Quickbooks invoice 2 356
Lotus Notes Database "Invalid NSF Version" 5 1,939
Add a cc field to email code 3 111
Lotus Notes Mailbox (Mail Forwarding) 9 50
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 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