I am having a problem with a date. I have a Run on Server agent, and when I do a print statement to see what datatype I am dealing with “Print Datatype(Doc.AuthorDate)”… I get 8716 as a result. What datatype is 8716, … I was expecting datatype 7. How do I convert it?
Subject: RE: Data Type error
8716 = “Dynamic array of variants.” You could have found this information in the Designer help document titled “Datatype function”. Every field value you get from a NotesDocument is returned as a one-element array. The cause of the error you’re getting is explained in the article I posted a link to when I answered this same question for you previously.
It doesn’t matter that the field is not multivalued. Its value is still returned as an array, containing one element.