Search code examples
lotus-noteslotus-dominolotus-formuladomino-designer-eclipse

How to create a counter with a button in Domino Notes


I want a button and a field. Where when the button is pressed it +1 into the field. So a counter basically. Is this possible? What would be the code behind the button and the field?


Solution

  • Add

    • a field "Counter" of type "Number" with a Default Value formula 0 and
    • a button "add 1" with formula FIELD Counter := Counter + 1

    to your form.