NotesDateTime Array to a multivalue date field

Hi all

I try to set a multiple values date/time field with several dates.

So as to do it I fill in an NotesDateTime array with dates.

Firts try is filling the NotesDateTime array with ONE date

and assign it to the multivalue field:

Dim datearr() As NotesDateTime

...

doc.Fecha_1 = datearr 

Ok, this works. You can see the multivalue field with one item

and the type is “Date/Time”.

Lets add some more dates in the NotesDateTime array.

Debugging, while it is filling, you can see that each item in the

array is a NotesDateTime type.

Then I assign the Array to the Multivalue field:

Dim datearr() As NotesDateTime

...

doc.Fecha_1 = datearr 

and suddenly the multivalue field converts them to “Text List” type.

Is that normal, or I’m doing something wrong?

Sometimes Lotus Notes surprises me…

Franc