Ruslan, >>But if you have many such places , >>You an write once some >> func_alg( Control, inTable, inSet ) Thanks! That can be a useful approach. I will actually explore it further. Kind regards, Dennis