protected function SavePersonForceUpdate($strFormId, $strControlId, $strParameter)
{
if ($strParameter == '1') {
$objPerson = $this->objPerson1;
$objPerson->FirstName = $this->txtFirstName1->Text;
$objPerson->LastName = $this->txtLastName1->Text;
} else {
$objPerson = $this->objPerson2;
$objPerson->FirstName = $this->txtFirstName2->Text;
$objPerson->LastName = $this->txtLastName2->Text;
}
// Do the Save, Forcing the Update
$objPerson->Save(false, true);
// Reload the Person so that it's fresh
if ($strParameter == '1') {
$this->objPerson1 = PersonWithLock::Load(5);
} else {
$this->objPerson2 = PersonWithLock::Load(5);
}
}