private function DeleteOldGroups(array $selGroupIDs)
    {
        $tblMmg = MemberMembergroup::Schema()->Table();
        $sql = Access::SqlBuilder();
        $where = $sql->Equals($tblMmg->Field('Member'), $sql->Value($this->member->GetID()));
        if (count($selGroupIDs) > 0)
        {
            $selectedList = $sql->InListFromValues($selGroupIDs);
            $where = $where->And_($sql->NotIn($tblMmg->Field('MemberGroup'), $selectedList));
        }
        MemberMembergroup::Schema()->Delete($where);
    }