refresh with code after update

I owe you an explanation.
you add bracket when your table or fieldname has space between them.
from the guys and a girl, you're welcome!
 
use a dLookup() in the AfterUpdate event of the "key" control to determine if that key value already exists. If it does, you can cancel the update
This was a typo. You CANNOT cancel the AfterUpdate event. Validation belongs in the BeforeUpdate events which you can cancel
 

Users who are viewing this thread

Back
Top Bottom