Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / March 2005

Tip: Looking for answers? Try searching our database.

Error 2486: You can't carry out this action

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 29 Mar 2005 05:49 GMT
I am getting this error, #2486, "You can't carry out this action at the
present time" when trying to close forms or go to other forms after I
update a number of records in my database via code.
I can't tell exactly what is locking it up.

Any ideas as to what might cause this?

Steve
JaRa - 29 Mar 2005 10:19 GMT
Can you close the forms during the update of data?

- Raoul

> I am getting this error, #2486, "You can't carry out this action at the
> present time" when trying to close forms or go to other forms after I
[quoted text clipped - 4 lines]
>
> Steve
Steve - 30 Mar 2005 02:44 GMT
The actual update takes just a few seconds.  It is _after_ that that the
 forms/buttons are locked.  I have to close Access and open it again in
order to move to the next task.  Inconvenient, to say the least...

Steve

> Can you close the forms during the update of data?
>
[quoted text clipped - 8 lines]
>>
>>Steve
JaRa - 30 Mar 2005 08:55 GMT
Can you give us the code please?

- Raoul

> The actual update takes just a few seconds.  It is _after_ that that the
>   forms/buttons are locked.  I have to close Access and open it again in
[quoted text clipped - 14 lines]
> >>
> >>Steve
Mauricio Silva - 30 Mar 2005 21:45 GMT
I was going thru the same problem.

In my case I had a form/subform structure. I have 2 fields in my linkfields
(Fiscal year and department) and I also have a third field (business) which
is optional. When selected I was filtering using: Child1.form.filter =
"business = ""My Business"""

After changing the filtering options a few times, I was getting the error
2486.

I fixed it by changing dynamically the RecordSource of the subform when I
select the third filter, as below and keeping the LinkFields:

Child1.Form.RecordSource = "SELECT * FROM [BUDGET DATA]" & _
                     iif(ComboBusiness = "- ALL", "", " WHERE Business =
""" & ComboBusiness & """")

I hope it helps

Take care

Mauricio Silva

> The actual update takes just a few seconds.  It is _after_ that that the
>   forms/buttons are locked.  I have to close Access and open it again in
[quoted text clipped - 14 lines]
> >>
> >>Steve
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.