Lotus view column compare to string/integer
Posted
by Kris.Mitchell
on Stack Overflow
See other posts from Stack Overflow
or by Kris.Mitchell
Published on 2010-04-15T17:49:02Z
Indexed on
2010/04/15
17:53 UTC
Read the original article
Hit count: 225
lotus
|lotusscript
I have a lotus view that stores a number. I need to perform some math against the value, but I am having a lot of problems getting the types to match up.
doc.numOfGold = numGold
and CInt(doc.numOfGold) = numGold
and CInt(doc.numOfGold) = CInt(numGold)
and doc.numOfGold = CInt(numGold)
all return type mismatch. I've tried changing the column properties to treat it as a decimal, with no better luck.
Any thoughts?
Thanks!
© Stack Overflow or respective owner