Definition of UNK and ‘Database has too many unique field names’ message http://www-01.ibm.com/support/docview.wss?rs=463&uid=swg21100238 一部抜粋 英語 日本語 The compact process deletes the UNK, and scans all notes in the database for the existence of unique fields. If the field exists anywhere (design element or live document), it will be added to the newly built UNK. コンパクトプロセスはUNKを削除し、データ ベース内のすべてのノートをスキャンして一意 のフィールドが存在するかどうかを調べます。 フィールドがどこかに存在する場合(設計 要素または生の文書)、新しく作成 されたUNKに追加されます。
【サンプル】値のない日付/時刻フィールドに置換する: Dim ss As New NotesSession Dim doc As NotesDocument Dim item As NotesItem Dim ndt As New NotesDateTime(“”) ‘ワイルドカードの日付 Const FLD = "C_day" Set doc = ss.Currentdatabase.Unprocesseddocuments.Getfirstdocument() If doc.Hasitem( FLD ) Then doc.Removeitem FLD Set item = New NotesItem(doc, FLD, ndt) doc.save True, False