How can you capture the navigation events on an access form

for each record i need to check if a value is yes or no and based on this show/hide a button.....

cheers for anyhelp