Method Failed (1 Viewer)

StephenS

Registered User.
Local time
Today, 12:19
Joined
Mar 24, 2000
Messages
31
I've been working for sometime on a subform problem where I receive the error:

"Method 'Form' of object '_subform' failed Runtime error '-2146500594 (800f0003)':"

This error message comes up when I try to enable or disable a control on a subform using:

"Me![subfrmUpdateAgent].Form![W].Enabled = False"

The syntax has worked before. Has anyone ever run into this before? What's it mean? Any ideas?


StephenS
 

ElsVanMiert

Registered User.
Local time
Today, 12:19
Joined
Dec 14, 2000
Messages
152
Is it possible that the control you want to disable has the focus? In this case the procedure will fail.
 

StephenS

Registered User.
Local time
Today, 12:19
Joined
Mar 24, 2000
Messages
31
No, though I did check out your idea by Setting focus to another control just before running into code above that causes the problem. It still gives the same error.

StephenS.
 

Users who are viewing this thread

Top Bottom