<pe***********@aol.com> wrote in message
news:11**********************@i39g2000cwa.googlegr oups.com...
Okay, I've done that for Word & Excel, but what about ADO? I am not
sure how to do that.
Without question, you need late binding for word/excel etc.
As for ADO?
You should NOT NEED to mess with the ado references, and I have no idea why
you are....
Of course, you do need to cut a version of your software for a particular
version of office. You can't expect software developed in a2000 to work with
a2003 unchanged. (often it does..but, really, you need to create a version
for each office you are using).
It is not clear what machines/versions you are distributing your application
to, but I would suggest you that distribute a mde. So, if users need a 2000
version, then you distribute a a2000 mde. If you use the default ADO
reference for each version, then you will not have nay problems at all.
I would STRONGLY recommend that you don't mess with the ADO reference, but
just use the default one for the particular version....
The problem here is that a97 does not have built in support for ado...so, I
not really sure why you are having a problem anyway. Are you mixing dao and
ado code in the same application? (and, if you are...why are you???).
For a2000 to a2003, you should not need to touch, or change the ado
reference anyway. Further, you should not as a rule have to change any code.
So, fix the late binding for other office applications, and leave the ado
ref alone...it should work ok....
However, for a2000 to a2003, while they all default to a2000 format, you
REALLY REALLY REALLY REALLY need to do a de-compile and then a re-compile in
a2000 (or a2002) to ensure ANY degree of relibliry here. So, if you move the
mdb to a different version of office, do a de-compile..and re-compile first.
(or, as mentioned, create a mde for each version of office...but you still
want to do a de-compile before you create the mde if you follow this
advice).
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com http://www.members.shaw.ca/AlbertKallal