473,508 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2117

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

Similar topics

13
6572
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
689
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
2160
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
2524
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
2254
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
4758
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
2580
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
4133
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
19404
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
2897
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
7129
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
7333
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
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.