A Key cannot be specified when adding an item to this collection. (Error 2064)
You cannot specify a key when adding a new item to a collection in which all items do not have keys. Either all items in a collection have keys or do not have keys. To determine if a collection requires keys, use GetKey(1)
and the EMPTY( ) function as follows:
? EMPTY(Collection.GetKey(1))