473,394 Members | 1,878 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,394 software developers and data experts.

Object invalid error in Acc 2002

I have found references to this problem in several threads on this
newsgroup but none provide an answer to explain this problem. So any
further assistance would be very helpful...

I have 2 forms (one in form view-FF, one in datasheet view-FD) which are
open together and which use a query as the recordsource with data from
the same table. When one form (FF) is visible, the other (FD) is hidden.
In some circumstances, entering data onto the FF form gives an 'object
invalid or no longer set' error. When I look at the datasheet form FD,
all the records show #NAME. Any other keystrokes cause repeated object
invalid ... errors which cannot be trapped in the running code. Data can
be entered into the FF OK, but when data is entered into a linked
subform on the FF form, the FD form loses it's recordset.

I understand there may be issues with basing two forms on the same
table, but this can't be the entire answer. The reasons being ...
1. The app has been working now for 120 clients for 4 years.
2. The app works in Acc97 on the same computer on which it doesn't work
in Acc2002.
3. The app works one one computer with a similar configuration as one
where it doesn't work.

Specifially, the app (mde) is written in A97 and converted to A2000 for
clients with A2000/2002. The rogue machine has Access 2002 and Win XP
home. I have checked the references and all are OK. I have
uninstalled/reinstalled my app and Office XP. It happens with mde or
mdb. When I run the A97 version on the same machine with the Acc97
runtime, the app works fine.

Mysterious eh. Is it a M$ issue?

Owen Jenkins
oj@healthbase.com.au

Nov 12 '05 #1
1 1391
TC
Well, if you showed the lines of code that got the error, someone could
doubtless tell you the cause!

TC
"Owen Jenkins" <oj@healthbase.com.au> wrote in message
news:3F**************@healthbase.com.au...
I have found references to this problem in several threads on this
newsgroup but none provide an answer to explain this problem. So any
further assistance would be very helpful...

I have 2 forms (one in form view-FF, one in datasheet view-FD) which are
open together and which use a query as the recordsource with data from
the same table. When one form (FF) is visible, the other (FD) is hidden.
In some circumstances, entering data onto the FF form gives an 'object
invalid or no longer set' error. When I look at the datasheet form FD,
all the records show #NAME. Any other keystrokes cause repeated object
invalid ... errors which cannot be trapped in the running code. Data can
be entered into the FF OK, but when data is entered into a linked
subform on the FF form, the FD form loses it's recordset.

I understand there may be issues with basing two forms on the same
table, but this can't be the entire answer. The reasons being ...
1. The app has been working now for 120 clients for 4 years.
2. The app works in Acc97 on the same computer on which it doesn't work
in Acc2002.
3. The app works one one computer with a similar configuration as one
where it doesn't work.

Specifially, the app (mde) is written in A97 and converted to A2000 for
clients with A2000/2002. The rogue machine has Access 2002 and Win XP
home. I have checked the references and all are OK. I have
uninstalled/reinstalled my app and Office XP. It happens with mde or
mdb. When I run the A97 version on the same machine with the Acc97
runtime, the app works fine.

Mysterious eh. Is it a M$ issue?

Owen Jenkins
oj@healthbase.com.au

Nov 12 '05 #2

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

Similar topics

2
by: Pkpatel | last post by:
Hi, I keep getting this error every time I try to load crystalreportviewer on a webform with a dataset. Here is the error: -------------------------------------------------------- Server...
16
by: cwizard | last post by:
I'm calling on a function from within this form, and there are values set but every time it gets called I get slammed with a run time error... document.frmKitAmount.txtTotalKitValue is null or not...
4
by: | last post by:
Some time ago I installed VC# 2003, made a small generic project, compile with the allow unsafe flag and I get the error below: "error CS1577: Assembly generation failed -- Unexpected exception...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
7
by: deko | last post by:
I'm getting intermittent "Object Invalid or No Longer Set" errors in my Access 2002 mdb. What causes these errors? Has anyone dealt with this before? I can't trace it because it's not easy...
4
by: deko | last post by:
RE: "Object Invalid or No Longer Set" errors I've had an angelic visitation and the revelation is that my problem, in essence, is due to the fact that I have multiple forms open at the same time...
2
by: TSanders | last post by:
Hello everyone, I hope someone here can help. I created an application in MSAccess 2000 using VBA for a local telco to track their DSL orders. The database is split into a front end and a back...
5
by: Janning Vygen | last post by:
Hi, tonight my database got corruppted. before it worked fine. since two days i do the following tasks every night psql -c 'CLUSTER;' $DBNAME psql -c 'VACUUM FULL ANALYZE;' $DBNAME ...
2
by: 4bex | last post by:
Hello there, I am trying to get to the bottom of an 'Object invalid or no longer set' issue, but I am not a database programmer. We have approx 20 users on MS Access 2002 front...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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.