A Key must be specified when adding an item to this collection. (Error 2063)

You must specify a key when adding a new item to a collection in which all items 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))