It could be an issue with your References collection. Problems with the
References collection are common when new software is installed.
My generic answer is:
Open any code module, then 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)
Just so you know: the problem will occur even if the library that contains
the specific function that's failing doesn't have a problem.
I think the References option appears on the Access 2007 ribbon when a
module is open, but I don't have Access 2007 installed on this machine to
check.
--
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
Shorty said:
i just recently got Access 2007 and I am trying to put query information
into
a report and I am getting a message that I need to enter a parameter
value??
If I don't, then I get a #Error message. i haven't changed anything on
the
design of it, and I'm thinking I need to do something. If anyone could
give
me some information, that would be great. Thanks! What I have as the
formula is " " & UCase([LastName]) & ", " & [FirstName] & " " &
[MiddleInitial]