Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CommandButton.EventProcPrefix Property (Access)

Gets or sets the prefix portion of an event procedure name. Read/write String.

expression .EventProcPrefix

expression A variable that represents a CommandButton 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 (_).

© 2015 Microsoft