BeginNewFieldUpdateGroup の最新の呼び出し以降に変更された、各フィールドの FieldInfo オブジェクトを戻します。
このメソッドは、SetFieldValue の呼び出しのグループの最後をマークする場合に使用します。(以前に BeginNewFieldUpdateGroup を呼び出して、グループの開始をマークしている必要があります。)この手法は、フォーム内のフィールドに行われた変更を追跡する必要がある場合がある、Web ベース システムの場合に役立ちます。例えば、ユーザーが別の Web ページに移動する場合、このメソッドを呼び出して、フォームの現在の状態を保存し、ユーザーがそのページに戻るときに復元できます。
VBScript
entity.GetFieldsUpdatedThisGroup
Perl
$entity->GetFieldsUpdatedThisGroup();
VBScript
BeginNewFieldUpdateGroup SetFieldValue "field1", "1" SetFieldValue "field2", "submitted" SetFieldValue "field3", "done" updatedFields = GetFieldsUpdatedThisGroup ' Iterate over all the fields that changed For Each field In updatedFields ' ... Next
Perl
$entity->BeginNewFieldUpdateGroup() $entity->SetFieldValue("field1", "1" ); $entity->SetFieldValue("field2", "submitted"); $entity->SetFieldValue("field3", "done"); $updatedFields = $entity->GetFieldsUpdatedThisGroup (); $count = $updatedFields->Count(); # Iterate over all the fields that changed for ($x = 0; $x < $count ; $x++) { $field = $updatedFields->Item($x); # do other tasks... }