Chris are you suggesting I convert first to A97?The other responders are all known and highly respected by me.
No I'm not, that's just usually the way I did it.
And if I converted A2.0~A97~A2k~A2k2, the damn ADO recordset code was all
precisely the same. Well apart from a bit of confusion about dots vs bangs, or
in DoCommand or menu manipulations some confusion about spaces vs dots or
specifying the correct menu version. If you are opening a querydef I will
kow-tow to David, except I don't know why your app would open such, unless you
wish to "manipulate" database objects beyond normal (ie "simple").
My last posting mentioned a module that I do not know how to compile as Debug | Compile
will try to compile the lot.
Well certainly it only compiles the lot. But I thought it would throw you into
the first line in error or something.
It is well-known that MS-Access errors can be "approximate". And if there are
more than a few errors then the compiler might get completely "lost" (no
disrespect to Microsof).
Take a copy of your db, and start dotting out errant lines until you get it to
compile. Just for a test mind. If you come across more than a dozen errors,
then you may be chasing your tail (for instance, if a reference to DAO is
missing, then ALL DAO lines would error)
Please don't laugh, but I have apps with hundreds of forms. On desperate
occasions I have deleted nearly all of them until I get the damn thing to
compile.
Both A97 and A2k (etc) are subject to subtle db corruptions. A2.0 is too but
not so bad. The A2k converter is particularly prone. Therefore, do a compact
of A2.0 before trying to convert (if A97 or greater, do a
decompile/compile/compact). As soon as you've converted to A2k, immediately do
a decompile/compile/compact in A2k. /Decompile is an undocumented command line
switch (though it is documented at
www.trigeminal.com). If you see no result,
then your probs are worse than that.
I thought if I got the macros and modules "clean" then compile all?
Does that sound like a reasonable strategy?
Ah, macros? I don't know anything about macros beyond using them to startup
and shutdown. Macros are not part of a "code compile". Therefore, they might
affect how your overall app runs, but not why your code can't compile or run.
Chris, it's just that I have A2k on my system.
A2k should be fine if SP'd. I had a lot of initial troubles but you'll be
pleased to know my mother helped me get over most of them ;-)
Contributors to these ng's consistently say that A2k2 was much more stable.
Although I have A2k2 (A-XP) installed on a test PC, I have not had a major
reason to change from distributing A2k. (meaning, the particular problems I
have were STILL present in A2k2)
Hoepfully slowness will not be a problem as it is a single user - use the application once
a year for about a month.
I was not referring to general slowness (all later and bigger software runs
slower, you will especially notice that if converting from A2.0) I was
referring to complete lock-ups for 10 or 20secs. Any responders who have not
experienced this, then please don't respond. Some besides me have noticed it.
Aussies should refer to David.
One Australia sunk didn't it? (but then we didn't do much better ourselves in
defending the last Americas Cup)
I am doing this volunatry work as
What is wrong with A2.0? Admittedly I only have one customer still using A2.0,
but until it falls over they can stay there! The best reason I can think for
converting, is that it's hard nowadays to find programmers familiar with A2.0.
Or, on later operating systems, it might just fall over gawd knows why.
Chris