Using the when event in a command button