method Record.EndUpdate ()
Resumes painting the control after painting is suspended by the BeginUpdate method.

TypeDescription
Use the BeginUpdate method to maintain performance when editors are added to the control one at a time. Use the DataSource property to bind a recordset to the control.

The following VB sample adds 10 EditType editors in the control:

With Record1
   .BeginUpdate
   Dim i As Long
   For i = 1 To 10
    .Add "Editor <b>" & i & "</b>", EditType
   Next
   .EndUpdate
End With

The following VC sample adds 10 EditType editors in the control:

m_record.BeginUpdate();
for ( long i = 1; i < 10; i++ )
{
	COleVariant vtMissing; vtMissing.vt = VT_ERROR;
	CString strLabel;
	strLabel.Format( "Editor <b>%i</b>", i );
	CEditor editor = m_record.Add( COleVariant(strLabel), /*EditType*/ 1, vtMissing );
	editor.SetValue( COleVariant( i ) );
}
m_record.EndUpdate();