[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

For HemanthaKumar

HemanthaKumar

What is the exact script I would enter in the exit event of a field to make all fields update?

Currently the field has the following script:

Sub Exiting(Source As Field)
      
End Sub

Would I replace or add to that?
0
jtpatten
Asked:
jtpatten
  • 2
1 Solution
 
HemanthaKumarCommented:
Sub Exiting(Source As Field)
     Dim ws as New NotesUIWorkspace
     ws.CurrentDocument.Refresh
End Sub


~Hemanth
0
 
qwaleteeCommented:
I'll save Hemantha some typing
Sub Exiting(Source As Field)
  Dim ws as new notesUiWorkspace
  ws.currentDocument.Refresh 'causes each field to recalculate, the PostReccalc event to run, and hiding to be reavaluated
End Sub
0
 
qwaleteeCommented:
LOL
0
 
jtpattenAuthor Commented:
That woiks,

Thanks HemanthaKumar and qwaletee
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now