Runtime Error 2486 
Author Message
 Runtime Error 2486

I can't find any documentation that describes this error code.  Basically,
it says "you can't carry out this action at the present time", and you can't
run any VBA code after it displays this (it will display this message every
time you try to run any VBA.).  You can't even get in design mode.  You
basically have to do an End Task in order to shut down Access and reopen the
database.

I will describe the conditions where I get this error:

I have a form-A with a continuous subform-B attached to table-B.
I run some function that adds a record to table-B.
I refresh form-A and it's subform-B.

This works great as long as subform-B is not filtered previous to the
execution of the record-adding function.

I've  tried clearing the filter with vba code prior to the record update,
but it still gives me the same error.  I'm not even 100% sure it's a
filtering problem, but it only occurs when the subform-B is filtered.

any help would be terrific!

Brian R. Lawton
Information Services Manager
Southwest Microwave, Inc.



Fri, 17 Jan 2003 03:00:00 GMT  
 Runtime Error 2486
I failed to say that this is Access 2000 using DAO.



Quote:
> I can't find any documentation that describes this error code.  Basically,
> it says "you can't carry out this action at the present time", and you
can't
> run any vba code after it displays this (it will display this message
every
> time you try to run any VBA.).  You can't even get in design mode.  You
> basically have to do an End Task in order to shut down Access and reopen
the
> database.

> I will describe the conditions where I get this error:

> I have a form-A with a continuous subform-B attached to table-B.
> I run some function that adds a record to table-B.
> I refresh form-A and it's subform-B.

> This works great as long as subform-B is not filtered previous to the
> execution of the record-adding function.

> I've  tried clearing the filter with vba code prior to the record update,
> but it still gives me the same error.  I'm not even 100% sure it's a
> filtering problem, but it only occurs when the subform-B is filtered.

> any help would be terrific!

> Brian R. Lawton
> Information Services Manager
> Southwest Microwave, Inc.



Fri, 17 Jan 2003 03:00:00 GMT  
 Runtime Error 2486
Brian,
You need to determine exactly what the "action" is that "you can't carry out".
Step through the code, or put some msgboxes in it to find out what is happening, when.
Could be something like you are trying to refresh the subform when it is dirty and its record hasn't been saved.
Or you are breaking referential integrity or something.
The message associated with this error is;
"You can't carry out this action at the present time. You tried to run a macro or used the DoCmd object in Visual Basic to carry out
an action. However, AppName is performing another activity that prevents this action from being carried out now.
For example, no actions on a form can be carried out while AppName is repainting a control or calculating an expression. Carry out
the action later."
--
Hope This Helps,
Jeff Davies


Quote:
> I can't find any documentation that describes this error code.  Basically,
> it says "you can't carry out this action at the present time", and you can't
> run any vba code after it displays this (it will display this message every
> time you try to run any VBA.).  You can't even get in design mode.  You
> basically have to do an End Task in order to shut down Access and reopen the
> database.

> I will describe the conditions where I get this error:

> I have a form-A with a continuous subform-B attached to table-B.
> I run some function that adds a record to table-B.
> I refresh form-A and it's subform-B.

> This works great as long as subform-B is not filtered previous to the
> execution of the record-adding function.

> I've  tried clearing the filter with vba code prior to the record update,
> but it still gives me the same error.  I'm not even 100% sure it's a
> filtering problem, but it only occurs when the subform-B is filtered.

> any help would be terrific!

> Brian R. Lawton
> Information Services Manager
> Southwest Microwave, Inc.



Sat, 18 Jan 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Strange error msg 2486 -- you can't carry out this action at the present time

2. Strange error msg 2486 -- you can't carry out this action at the present time

3. Strange error msg 2486 -- you can't carry out this action at the present time

4. Strange error msg 2486 -- you can't carry out this action at the present time

5. Run-Time error 2486

6. Run-time Error number 2486

7. Run-Time Error 2486 - Can't Carry Out Operation at Present Time

8. Strange error msg 2486 -- you can't carry out this action at the present time

9. Error 2486 - Access 2000

10. HELP ASAP: Run-time error 2486 Access2000

11. Run-Time Error 2486

12. access error # 2486 - You can't carry out this action at the present time

 

 
Powered by phpBB® Forum Software