local loActiveControl if type('thisform.activecontrol.name') = 'C' loActiveControl = thisform.activecontrol endif return loActiveControl