Re: Run-time error 2465 after database import
- From: "James Martin" <noreply@xxxxxxxxxxx>
- Date: Fri, 15 Jun 2007 04:25:39 -0400
Hi Maurice,
I'm not switching versions. The original database is in Access 2000 and the
new one is also Access 2000. Everything is also being done on the same
machine. I'm just trying to create a tidied-up copy of the original
database.
So far the only error I'm encountering is with the function, but I've really
tested very little. I got that error on the first thing I tried after
import, and so I haven't looked any further for other errors.
Thanks!
James
"Maurice" <Maurice@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9756A92A-E973-4666-B10F-96167626E441@xxxxxxxxxxxxxxxx
James,
What version as you importing into to? What's the old version it comes
from?
Is the function the only problem you are encountering or are you getting
other issues as wel.
--
Maurice Ausum
"James Martin" wrote:
I'm trying to tidy up a database by starting with a fresh, blank database
(Access 2000) and importing everything from the original database. Here
are
the steps I've gone through:
1. Started with a blank database.
2. Set all the properties to be the same as the original database. I've
set
the properties in:
- File / Database Properties
- Tools / Startup
- Tools / Options
- Visual Basic Editor - Tools / database Properties
- Visual Basic Editor - Tools / Options
- Visual Basic Editor - Tools / References
3. Selected File / Get External Data / Import and imported all tables,
queries, etc. (including checking the boxes to import relationships and
menus & toolbars).
After doing all of this I start getting odd errors in the new database
that
didn't exist in the original database. Specifically I'm getting "Run-time
error 2465 ... database can't find the field 'PaddedLotNumber' referred
to
in your expression". PaddedLotNumber is a function I have in one of my
modules. If I go into debug at this point and try using PaddedLotNumber
in
immediate mode, I get the same error. But as soon as I click Stop to end
processing and try using PaddedLotNumber, it works fine.
Initially I assumed that this was being caused by missing or incorrect
references, but I've checked all of them and they are identical in the
two
databases. I can't find any differences between the two databases.
(Except,
of course, that the system tables in the fresh one are lots smaller -
which
is why I'm going through this procedure in the first place.)
I've tried decompiling, compact & repair, recompiling, etc. but I
continue
to get the 2465 error in the new database.
Does anyone have any suggestions as to what might be the problem?
Thanks in advance!
James
.
- Follow-Ups:
- Re: Run-time error 2465 after database import
- From: missinglinq via AccessMonster.com
- Re: Run-time error 2465 after database import
- References:
- Run-time error 2465 after database import
- From: James Martin
- Run-time error 2465 after database import
- Prev by Date: RE: Passing variables from form to query
- Next by Date: Re: Run-time error 2465 after database import
- Previous by thread: Run-time error 2465 after database import
- Next by thread: Re: Run-time error 2465 after database import
- Index(es):
Relevant Pages
|