Duplicate Option Statement, Why do I get this ? (1 Viewer)

fargos99

Registered User.
Local time
Today, 12:42
Joined
Sep 1, 2000
Messages
12
Hi
I must be missing something but I dont know where. I have a number of fields on a form and I wish to manually add a button which will perform a calculation at the 'on click' event. However every time that I try I just get this annoying message
<B>The expression On Click you entered as the event property setting
produced the following error: Duplicate Option Statement

*The expression may not result in the name of a macro, the name of a user defined
function, or [event procedure].
*There may have been an error evaluating the function, event, or macro</B>

Please tell me what I am doing wrong

Stu
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 07:42
Joined
Feb 19, 2002
Messages
43,213
Open the form's code module and look for duplicate function names. You may have some old code hanging around from a previously deleted button.
 

Users who are viewing this thread

Top Bottom