0498: function use for recordnumber change for better event control