ACC: Procedure Name Ctl* Does Not Match Control Name (156198)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
This article was previously published under Q156198
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you create a control on a form that starts with a numeric character,
and you then add an event procedure to that control, Microsoft Access will
attach the characters "Ctl" (without the quotations marks) to the name of
the procedure.
CAUSE
Microsoft Access does not allow a procedure name to begin with a numeric
character; therefore, it automatically changes the procedure name to
something that is valid.
RESOLUTION
Use the guidelines for naming Visual Basic procedures (or Access Basic
procedures in Microsoft Access version 2.0) when you create controls that
may be used in event procedures.
Modification Type: | Major | Last Reviewed: | 7/1/2002 |
---|
Keywords: | kbprb kbusage KB156198 |
---|
|