Could not create field %1

Hi,Below is the code that i’m working on, uniqueItems is an array of type string. If uniqueItems contains 1927 items it would produce the error message “Could not create field %1”.

I do not know what the exact number is but i did a couple of tests and found that if the array contains 1500 items it wouldn’t produce that error message.

Is there a way around this? i want to be able to display in the dialogbox all the items in the array regardless of the number of items.

Is it possible?

'code ---------

Dim s As New NotesSession

Dim doc As NotesDocument

Set doc = s.CurrentDatabase.CreateDocument

doc.List = uniqueItems

temp = ws.Dialogbox(“DescriptionList”,True,True,False,False,False,False,“Please Select Item”,doc,False,False,True)

Thanks in advance.

Meng Chey

Subject: Nope. You have reached the 64K limit on field size in notes.

You could try using NotesUIWorkspace.Prompt() instead of the DialogBox. I think you can have much bigger arrays there as you are not storing it in a field.

Subject: RE: Nope. You have reached the 64K limit on field size in notes.

The only reason why i’ve used dialogbox is that i can use a courier font to display my results.

So there’s no work around?

Subject: None that I know of to display the whole list.