Hi there. Me again.
So, on a list view, I would like my folks to be able to search for a document control number which is, for example, 170699600192.
When they do, they get this error:
"The conversion of the nvarchar value '170699600192' overflowed an int. column. The conversion of the nvarchar value '170699600192' overflowed an int. column. The conversion of the nvarchar value '170699600192' overflowed an int. column. "
I found this article that addresses it:
http://community.k2.com/t5/tkb/articleprintpage/tkb-id/TKB_blackpearl/article-id/4551
Two problems, though:
#1 - This column won't always be just numbers (sometimes the DCN has a letter in it) thus the "Big Int" won't work.
#2 - It's already set up as being nvarchar(max) in the database and a text field in the smart object, so I'm not sure WHY it's converting it to an integar anyway. Why would it not be treating the numbers as a text field?
Anyway, as a work-around, I plan on just making it part of our instructions to only search for a document control number using like the last 6 digits (when you do that, it doesn't error) but any thoughts on a way to just have K2 treat this field as text and not convert it to an int. when it's doing this type of quick search?
Rob