Customers using mde often get the error message 2473 using a form.
What is the cause of this error?
Customers using mde often get the error message 2473 using a form.
What is the cause of this error?
No, this is not the cause.
I found the cause. When there is a close button on the form en you click it very fast twice the error 2473 occurs.
Can you provide the exact text of the error message? It will help in suggesting where you look for the problem.
On the form that is causing the problem, look at the event properties for the "Close" button. Is there anything entered for the On Dbl Click event?When there is a close button on the form en you click it very fast twice the error 2473 occurs.
The exact text is 'The expression |2 you entered as the event property setting produced the
following error: |1.@* 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.@@1@@@1'
No there is no double click event on the close button.
Well, that text was decidedly unhelpful! (not your fault); I was hoping to see a procedure name, or an event name.
The error occurs when running the .mde - what happens if you run the .mdb version on the same PC's - any errors? Does the error occur on all PC's using the .mde, or only some of them? Are all the customers using the same version of MS Access?
Did you ensure your code compiles correctly before creating the .mde, and did you run a compact-and-repair? (I'm not sure that question is relevant, because Access may not even allow you to create an .mde if there are compilation errors).
Sorry for all the questions - just trying to see where the problem might be.