Lotus notes form not refreshing computed fields

Posted on 2009-04-28
Last Modified: 2013-12-18
I have computed fields that are not being refreshed, I have to hit F9 to have the fields populated.
I have the form property set to refresh  - Automatically refresh fields
Question by:Monterey
    LVL 22

    Expert Comment

    In the Notes client, you need to explicitly refresh the form when needed regardless of the "Automatically refresh fields" setting.

    In @Formula, use @Command( [ViewRefreshFields] )

    In LotusScript, use NotesUIDocument.Refresh

    Author Comment

    Do I put that on every field that is calculated?

    LVL 22

    Accepted Solution

    >> "Do I put that on every field that is calculated?"


    You need to refresh the form when something changes -- normally a field value.  This is a field relationship where you have a controlling field and a dependent field.  The value of the dependent field depends on the value of the controlling field.  There are several ways to do this depending on the type of the controlling field and how the controlling field value changes.

    If you're changing the controlling field value via LotusScript, you call NotesUIDocument.Refresh on the last line of the script.

    If you're changing the controlling field value via @Formula language, you call @Command( [ViewRefreshFields] ) at the end of the formula.

    If the user is changing the controlling field value by directly editing the field on the form, then it depends on the type of field.

    For regular, editable fields, you need to place a call to NotesUIDocument.Refresh in the field's Onblur or Exiting events (either one will work).

    For picklist type fields (checkboxes, radio buttons, combo boxes, etc), you need to enable two field properties: "Refresh fields on keyword change" and "Run Exiting/OnChange events after value changes".

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
    Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    730 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

    15 Experts available now in Live!

    Get 1:1 Help Now