Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On Dbl Click event property error:

Status
Not open for further replies.

wjmontague

Programmer
Jun 19, 2001
11
US
The expression On Dbl Click you entered as the event property setting produced the following error: Member already exists in a object module from which this object module derives.

I know the dbl click procedure was working for employee names, manufactures, and assests. Where is you double click on the field you can add to the Combo Box a new entry. Suddenly I get the above error on all three combo boxes. Any ideas? Thanks Warren
 
I found the answer myself. It was a syntax error in one of my double click event procedures. The name of the procedure at the top did not match the name at the bottom of the procedure. This affected all of my double click procedures while the error was only in one of the twenty or so for that form. I found it by erasing half of the procedures at once, then half of the ones that caused it etc until I narrowed it to the one offensive procedure.
 
I am getting the same error message, but I can't find any code inconsistencies. I am not using any ready-made code, so my functions are simple and don't refer to themselves at all. I wonder what is going on...
 
Striker,

It really seems to me you <probably> have a corruption issue. If you want, zip the little devil and send it over. I'll be happy to scowl at it. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Actually, I did a little more searching on the tek-tips forum and someone had recommended compiling all the code in my database, so from the VB editor, I clicked on &quot;Compile&quot; and the debugger stopped on the like where I had &quot;Dim FormName as Form&quot;. It said that I had that declared somewhere else within the same scope, so I just changed the name of the variable and it seemed to work. Thanks though!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top