473,395 Members | 1,905 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Error 2486, Access Data Project

I am in the process of converting a Jet database to ADP using SQL
Server 2000. Most of this conversation has been smooth, but now
I'm running across a problem that has me stumped. Access 2000 SP3 on
Windows 2000 Professional. I'm not in charge of the SQL server, so
I don't know its OS (presumably irrelevant). Presumably, it's been
updated with its latest service packs. With this conversion, I'm
moving everything on the VB side from DAO to ADO.

I'm running into a problem in which I'm getting error 2486: You
can't carry out this action at the present time. The error occurs on
a line that says "DoCmd.Close" (sans quotes). This is the form that
has the focus.

The form that is getting the error:
* is opened by another form using a Filter parameter
* has six subforms (two attached to tab controls)

Four of the subforms have conditional formatting on two controls each.

I've tried stepping through the code. Interestingly enough, when I
stepped through it on one occasion, the error did not occur. The
error didn't show up again for about two more runs of the form.

I can't find anywhere where it thinks a form or subform is dirty.

This form does dynamically change a subform as it opens, if necessary.
It changes the subform by referring to
Me.sf_regionalPatientList.SourceObject. This has never been a problem
in the past. When it was an MDB, it worked just beautifully. I have
no reason to believe that this is a problem now.

Googling for answers pointed me to removing the conditional formatting
(I did; no change) and importing the forms into a different .ADP file
(same result). I tried converting all my bang references to dotted
references (Me.someform.yadda instead of Me!someform.yadda). I have no
explicit references to the Forms collection (no Form!someForm!etc
references). When I try to switch to Design mode, I get the "This
action will reset the current code in break mode" error, even though
there is no apparent VB code running in the background. Exiting Access
requires going through the Task Manager, as Access refuses to exit.

I can try re-creating the subforms (a pain, but possible), but there was
no indication of corruption when I did the import into a second ADP.
I've tried the /decompile switch, just in case. No change.

One other oddity: if I click on the Access close button (to close down
everything), it looks like Access is closing down. However, the errant
form disappears and the database window and other open forms appear from
behind it. It reminds me of having two copies of Access open at the
same time, with the same database, but I absolutely do not.

To the best of my knowledge, I do not have any problems with the views or
stored procedure code on the server. I've tested them and they return
the correct results. However, if I did run a stored procedure on the
server that had a problem, or ended up in an endless loop, could this
cause Access to exhibit the behavior that it is? I would think Access
would hang until the server returned, or it popped up some error message,
but I can move around in Access and do other things (switch the tabs,
use combo boxes, etc.).

Suggestions?

Thanks,
Matt

--

---
Download my public key from http://216.99.209.78/~mattf/mjf_key.asc

Nov 12 '05 #1
0 2104

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
0
by: M. Farrenkopf | last post by:
I am in the process of converting a Jet database to ADP using SQL Server 2000. Most of this conversation has been smooth, but now I'm running across a problem that has me stumped. Access 2000 SP3...
2
by: Bill Stock | last post by:
I have a subform which is causing a 3314 (Field can't contain a null value because required is set to True) error. I solved this problem by trapping it in the before update event. But then I...
4
by: RM | last post by:
Had VS .Net 2002 installed on W2k Server SP3 and supported a number of web sites. Installed VS .Net 2003 on Friday and now all web sites using .Net & MS ACCESS get this strange error upon open. ...
2
by: Chuck Ritzke | last post by:
Hi all, I am getting an intermittant error after uploading a project from my development machine. I click on a link which opens an aspx page that, upon page load, reads a very small amount of...
7
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
6
by: Danny J. Lesandrini | last post by:
How is it possible that VBA could ERR out on the same line 3 times in 5 seconds? Below are the logs for two errors that happened one right after the other and you can see that the same line is...
4
by: Rick | last post by:
I've moved code from a stage machine to the production machine, exact same code works fine on the stage machine, they are both windows 2003 servers, I'm getting a "Cannot generate SSPI context"...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.