Page.EventProcPrefix property (Access)
Gets or sets the prefix portion of an event procedure name. Read/write String.
expression A variable that represents a Page object.
For example, if you have a command button with an event procedure named Details_Click, the EventProcPrefix property returns the string Details.
Microsoft Access adds the prefix portion of an event procedure name to the event name with an underscore character ( _ ).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.