If you have ADO 2.6, there's no reason to try and add ADO 2.1
In a nutshell, the instructions for fixing References problems are:
On the machine(s) where it's not working, open any code module. Select
Tools
| References from the menu bar. Examine all of the selected references.
If any of the selected references have "MISSING:" in front of them,
unselect
them, and back out of the dialog. If you really need the reference(s) you
just unselected (you can tell by doing a Compile All Modules), go back in
and reselect them.
If none have "MISSING:", select an additional reference at random, back
out
of the dialog, then go back in and unselect the reference you just added.
If
that doesn't solve the problem, try to unselect as many of the selected
references as you can (Access may not let you unselect them all), back
out
of the dialog, then go back in and reselect the references you just
unselected. (NOTE: write down what the references are before you delete
them, because they'll be in a different order when you go back in)
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
"Charles" <CUdell(reversetheloatoaolandremovebetweenparens)@loa.com>
wrote
in message Yes -
Active X Data Objects 2.6
ADO Extension 2.8 for DDL and Security
Active X Data Objects (Multi-Dimensional) 2.8
Do I need to remove one of these to get my string functions back?
Thanks!
- C
--
Charles
:
Do you already have some other version of ADO selected?
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
"Charles" <CUdell(reversetheloatoaolandremovebetweenparens)@loa.com>
wrote
in message When I attempt to select the Microsoft ActiveX Data Objects 2.1
Library
Reference (Msado21.tlb) checkbox and click OK, I get the following
message:
Name conflicts witrh existing module, pproject, or object library.
What next?
Thanks!
--
Charles
:
On Thu, 15 Dec 2005 15:43:02 -0800, Charles wrote:
We recently upgraded from Office 2000 to Office 2003. After
doing
so
our
string functions don't seem to work anymore. When I attempt to
run
a
query
that used to display the 5 rightmost characters of one field, I
now
get
an
error message:
Undefined function '[Right$]' in expression in a query after
upgrade
The expression looks something like this Password:
[Right$]([Residual
Apps]!Info,5). (I changed the field name and table name for
security
reasons).
Any ideas on how to fix this?
Thanks!
That PC has a missing reference.
Open any module in Design view (or click Ctrl + G).
On the Tools menu, click References.
Click to clear the check box for the type library or object library
marked as "Missing:."
An alternative to removing the reference is to restore the
referenced
file to the path specified in the References dialog box. If the
referenced file is in a new location, clear the "Missing:"
reference
and create a new reference to the file in its new folder.
See Microsoft KnowledgeBase articles:
283115 'ACC2002: References That You Must Set When You Work with
Microsoft Access'
Or for Access 97:
175484 'References to Set When Working With Microsoft Access' for
the correct ones needed,
and
160870 'VBA Functions Break in Database with Missing References'
for
how to reset a missing one.
For even more information, see
http://www.accessmvp.com/djsteele/AccessReferenceErrors.html