Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

Use the debugger (WAS: integer field value exceeded 32767 what do I do?)
~Umberto Nongeroson 11.Nov.03 01:20 PM a Web browser
Domino Designer 6.0.1 All Platforms


There's something wrong with your function in that case. A number field can store values greater than 32767 (the limit for integers in Notes), so your code needs redress.

I created some test code to increment a double which works just fine. If you're getting a "Type Mismatch" you're probably not setting the "starting point" for your code properly (i.e. the value you're grabbing from the document isn't registering in script as a Double):

Dim dbl As Double
Dim dblNew As Double
' // Instantiate doc NotesDocument
dbl = doc.YOUR_NUMBER_FIELD(0)
dblNew = dbl + 1

--
http://www.benpoole.com




integer field value exceeded 32767 ... (~Maria Prerever... 11.Nov.03)
. . Try the data type Long (~Arnold Lophipi... 11.Nov.03)
. . . . RE: Try the data type Long (~Maria Prerever... 11.Nov.03)
. . Use the debugger (WAS: integer fiel... (~Delores Dwonic... 11.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS