Run-time error '-2146500594 (800f000e)': "Method 'Item' object 'Forms' failed"

johncroc

New member
Local time
Today, 11:23
Joined
Feb 25, 2013
Messages
4
Run-time error '-2146500594 (800f000e)': "Method 'Item' object 'Forms' failed"

Greetings fellow VBA programmers,
A few days ago, several forms we have used continuously for months began producing an error: Run-time error '2683': "There is no object in this control"). All of the affected forms were simple, they only contained a progress bar control and a label. They were implemented in long-running reporting applications to keep the user apprised of the progress of the app. Through some research and trial and error, I was able to narrow the fault to the presence of the progress bar control, and found that if I removed the progress bar and added it in again the error went away.

Today, the same forms are producing a new error when they are loaded: "Run-time error '-2146500594 (800f000e)': Method 'Item' of object 'Forms' failed."

There is no code in any of the forms. The lines of code that call the form and set it equal to a variable are:

Code:
DoCmd.OpenForm "NDIC_Progress", acNormal
Set frmPrg = Forms("NDIC_Progress")
The error occurs on the "Set frmPrg = Forms("NDIC_Progress")" line.

These errors occur on different .mdb's and across different machines, so it must be something to do with the underlying ActiveX controls (maybe Windows Update changed something?).

Whatever the cause, I need to figure out how to fix it. Is anyone else experiencing similar issues? Even if not, does anyone have any thoughts about how I might go about fixing the problem? I have tried removing the progress bar and adding it again, but that does not change the error.

John
 
Last edited:

Users who are viewing this thread

Back
Top Bottom