dmax not working in 2003

M

Mandango

I have DMax and Dmin in a query and it works in Access XP 2002 but not in
2003...any suggestions?
 
V

vanderghast

Problem of Missing Reference? If so,

? Trim(" abc ")

won't work either.


Vanderghast, Access MVP
 
V

vanderghast

DMax may not work in 2003 while the same expression worked in 2002 if you
have a Missing Reference problem, EVEN if the missing reference has nothing
to do with DMax.

To be sure if it is NOT the case of a missing reference, try, in the
Immediate Debug Window the following simple statement:

? Trim(" abc ")


Followed by a return. If that ALSO produces an error, then it is very likely
that you have a Missing Reference problem: In the VBE menu, under Tools,
chose References.... You should get a very long list of possible
references, but among those which are selected with a check mark, look if
their description start with the word MISSING. If so, try to uncheck that
reference (or try to find its real 'Location" on that particular pc, if it
is a reference you really need). Once this is done, try again your original
expression.



Sure, DMax may also have stop working if you have ALSO modified (you, by
yourself, or indirectly with name auto correction) fields names or table
names: the automatic name change is likely to miss the names appearing in
STRINGs, as it is the case for DMax arguments.




Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top