Hi all!
This has happened to two different databases to me in two days.
A query which has been working flawlessly for over 9 months suddenly won't
run because the "ISNULL" function is undefined.
Compact and Repair - no problems. JetComp utility - no problems.
Then I try to edit a module, and the VB editor won't let me make any
changes. The error is something about the network connection being lost.
Which I could maybe understand for the first instance. But in the second,
the database is a local instance.
So I remove the ISNULL function from the query, and then it says that a User
Defined Function is missing, a UDF that is definitely in te modules list.
But no editing is possible. So I close the database, and then open it, and
the Module has disappeared from the Modules view, but is available in the VB
editor view, but not editable.
Again JetComp reports no problems.
The only resolution was a restore from a backup.
I am open to any and all suggestions.
cheers,
Matt. 5 2063
Matt,
On Tue, 23 Sep 2003 13:10:22 -0400, "Matt."
<ma*******************@hotmail.com> wrote in comp.databases.ms-access: A query which has been working flawlessly for over 9 months suddenly won't run because the "ISNULL" function is undefined.
Compact and Repair - no problems. JetComp utility - no problems.
Then I try to edit a module, and the VB editor won't let me make any changes. The error is something about the network connection being lost. Which I could maybe understand for the first instance. But in the second, the database is a local instance.
So I remove the ISNULL function from the query, and then it says that a User Defined Function is missing, a UDF that is definitely in te modules list. But no editing is possible. So I close the database, and then open it, and the Module has disappeared from the Modules view, but is available in the VB editor view, but not editable.
Again JetComp reports no problems.
The only resolution was a restore from a backup.
I am open to any and all suggestions.
The problem derives from incompatible versions of the vbe.dll file.
Check the msft kb for an article on this. Basically, if the dll
problem exists, and you import an object with code (for, report or
module) into an mdb, then close the mdb without first compiling it,
the code gets corrupted. You will get a network connection lost error
message, but it has nothing to do with a network or whether the file
is local or remote. The problem is that the code gets mangled. You
can't get to it from the Access interface, but it will still appear
within the vba environment (using, for example, the object browser).
However, you still will not be able to access the code.
There is no easy solution to code retrieval in such circumstances, but
the problem can be immediately prevented by ensuring you always
compact after importing objects that have code, and can be permanently
prevented by applying the appropriate updates. Again, the kb article
will help here.
HTH,
Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results www.pksolutions.com 1.800.987.7716 1.619.839.3900
Thanks Peter!
I'm trying to find that article, but am not having much luck. If you still
have a link, I'd be much obliged.
I'm assuming that I can't just swap out DLL files. Is this going to be an
MDAC installation?
cheers,
Matt.
"Peter Miller" <pm*****@pksolutions.com> wrote in message
news:i0********************************@4ax.com... Matt,
On Tue, 23 Sep 2003 13:10:22 -0400, "Matt." <ma*******************@hotmail.com> wrote in comp.databases.ms-access:
A query which has been working flawlessly for over 9 months suddenly
won'trun because the "ISNULL" function is undefined.
Compact and Repair - no problems. JetComp utility - no problems.
Then I try to edit a module, and the VB editor won't let me make any changes. The error is something about the network connection being lost. Which I could maybe understand for the first instance. But in the
second,the database is a local instance.
So I remove the ISNULL function from the query, and then it says that a
UserDefined Function is missing, a UDF that is definitely in te modules list. But no editing is possible. So I close the database, and then open it,
andthe Module has disappeared from the Modules view, but is available in the
VBeditor view, but not editable.
Again JetComp reports no problems.
The only resolution was a restore from a backup.
I am open to any and all suggestions.
The problem derives from incompatible versions of the vbe.dll file. Check the msft kb for an article on this. Basically, if the dll problem exists, and you import an object with code (for, report or module) into an mdb, then close the mdb without first compiling it, the code gets corrupted. You will get a network connection lost error message, but it has nothing to do with a network or whether the file is local or remote. The problem is that the code gets mangled. You can't get to it from the Access interface, but it will still appear within the vba environment (using, for example, the object browser). However, you still will not be able to access the code.
There is no easy solution to code retrieval in such circumstances, but the problem can be immediately prevented by ensuring you always compact after importing objects that have code, and can be permanently prevented by applying the appropriate updates. Again, the kb article will help here.
HTH,
Peter Miller __________________________________________________ __________ PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL Free quotes, Guaranteed lowest prices and best results www.pksolutions.com 1.800.987.7716 1.619.839.3900
Matt,
On Tue, 23 Sep 2003 14:18:03 -0400, "Matt."
<ma*******************@hotmail.com> wrote in comp.databases.ms-access: I'm trying to find that article, but am not having much luck. If you still have a link, I'd be much obliged.
See http://support.microsoft.com/default...b;en-us;304548
I'm assuming that I can't just swap out DLL files.
Debatable.
Is this going to be an MDAC installation?
No. An Office service pack update.
Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results www.pksolutions.com 1.800.987.7716 1.619.839.3900
Paii,
On Tue, 23 Sep 2003 14:37:56 -0500, "paii" <pa**@packairinc.com> wrote
in comp.databases.ms-access: A record in a table you were querying may be corrupted. There are some corruptions that repair will not find. I have had this happen to me 2 or 3 times, each time it was a memo field. Repair did not fix the table. Scroll down the table view looking for "ERROR" in a field. Do NOT enter the error record. If this is the problem, create a new table and use a query to copy the good records to this new table. You can then recreate the corrupted record, rename and recreate any references to the new table.
All fine advice in general, but not relevant to the corruption
scenario Matt outlined. His corruption is code-related - not
data-related.
Peter Miller
__________________________________________________ __________
PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL
Free quotes, Guaranteed lowest prices and best results www.pksolutions.com 1.800.987.7716 1.619.839.3900
Thanks again Peter,
The article describes exactly the problem.
cheers,
Matt.
"Peter Miller" <pm*****@pksolutions.com> wrote in message
news:8n********************************@4ax.com... Matt,
On Tue, 23 Sep 2003 14:18:03 -0400, "Matt." <ma*******************@hotmail.com> wrote in comp.databases.ms-access:
I'm trying to find that article, but am not having much luck. If you
stillhave a link, I'd be much obliged.
See http://support.microsoft.com/default...b;en-us;304548
I'm assuming that I can't just swap out DLL files.
Debatable.
Is this going to be an MDAC installation?
No. An Office service pack update. Peter Miller __________________________________________________ __________ PK Solutions -- Data Recovery for Microsoft Access/Jet/SQL Free quotes, Guaranteed lowest prices and best results www.pksolutions.com 1.800.987.7716 1.619.839.3900 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: PamelaDV |
last post by:
I have a database split for back end and front end and my back end (my
data) has been corrupting like crazy lately. Today we have compacted
and repaired like 4 times within an hour. The database...
|
by: Noesis Strategy |
last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles.
Recently, I have begun to design Access databases using an copy of Access
2002 from my previous laptop. It works fine,...
|
by: heather e blair |
last post by:
We have an Access 2002 database of about 35 M with about 7 users. The data
lives on the server (Windows 2000 server), while the queries, forms, reports,
etc. live in a file that is on each...
|
by: Neil Ginsberg |
last post by:
I have a client who is using Access 2002/2000 (the database itself is
written in 2000), and is considering migrating to Access 2003. Any
recommendations on whether Access 2003 is worth the migrate,...
|
by: Rob Geraghty |
last post by:
I've just spent some time looking through FAQ sites and searching the
google archives of this newsgroup, but I still haven't been able to
find a clear explanation of an issue with multi-user...
|
by: stu |
last post by:
I have several databases that are opened using various versions of
Access and VB. Up till recently everything worked fine, then I started
getting a variety of lock file error messages, both on my...
|
by: Lauren Wilson |
last post by:
Ok I have searched the MS website for info on this. I am totally
confused.
If I want to deploy an Access 2003 app and allow my users to run it
using Access 2003 Runtime, where do I get the...
|
by: ship |
last post by:
Hi
We need some advice: We are thinking of upgrading our Access database
from Access 2000 to Access 2004.
How stable is MS Office 2003? (particularly Access 2003).
We are just a small...
|
by: Bizmark |
last post by:
Access2003,
Windows XP Pro OEM user OS,
Windows Sever 2000 server OS.
Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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,...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |