Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: How to refresh parent UI document when response document is opening from embedded view?
Feedback Type: Question
Product Area: Designer Client
Technical Area: Application development
Platform: ALL
Release: All
Reproducible: Always

How to refresh parent UI document when response document is opening from embedded view?

In my Notes application, th parent document contains an embedded view with some response documents.
there are some computed for display fields on the parent document which calcalted after the its response document opened
and edited or deleted. I need these fields to be refrfeshed to reflact any changes from its response documents.
So basically, this is what happened:
1. The parent document (with an embedded view ) is opened from the database, (some computed and computed for display fields of parent document calculated from
its response documents )
2. I select one document from the embedded view by double clicking it.
3. I delete or edit this response document and close it.
4. Those computed and computed for display fields are still showing the old data as the response document undeleted.
5. Press F9 key, those computed and computed for display fields are calculated properly.

So ideally, I need to include the F9 key press action included in the action of editing or deleting the response document without user press F9 key manually.

I have tried to use Virtual key codes to in the form event. Basically, declared
Declare Sub keybd_event Lib "user32.dll" (Byval bVk As Integer, Byval bScan As Integer, Byval dwFlags As Integer,Byval dwExtraInfo As Integer)
and using
keybd_event &h78,0,0,0 '<F9> down
keybd_event &h78,0,2,0 '<F9> key up in the queryclose event of response form.
But the problem is that when user double clicking the entry on the embedded view, the cursor is selected on the embedded view, so the embedded view is refreshed, but not these
computed fields which are outside of embedded view.
I need to find a way to remove the cursor from the selected embedded view in order to refresh the entire parent form.
I tried to use
keybd_event &h1B,0,0,0 '<ESC> key on the queryopen event of response, but this does not work.
Can anybody help me to resolve my issue?
Thanks a lot in advance.


Feedback number WEBBATJK3R created by Peter Cong on 11/28/2017

Status: Open

How to refresh parent UI document w... (Peter Cong 28.Nov.17)
. . @PostedCommand([ViewRefreshFields])... (Mike Woolsey 11.Dec.17)


Search this forum

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite