What events fire on Access form F5 refresh?

Father Branigan

New member
Local time
Today, 10:51
Joined
Mar 17, 2011
Messages
7
Do any form events fire when a user presses F5 to refresh?

Otherwise, is there a way to capture the user pressing F5 so that I can run some code?
 
what do you want it to do?

I think refresh just rereads the data for the current row.
 
I have a textbox that is populated with either "File is Available" or "File is Not Available", depending on whether a certain file is present in a specific folder. Since other users can drop the file into the folder without the Access user's knowledge, I would like the Access user to be able to occasionally press F5 to refresh and re-check whether or not the file is there.

I can do it with a dedicated button, but the screen real estate is very limited on the form and the users all know to use F5 to re-query so that's the most intuitive.
 

Users who are viewing this thread

Back
Top Bottom