Left (Right) Join vs Left (function)

J

John F

I recently got updated to Access 2007 from 2003. My datbase sits on an
out-of-house server, and I have administrator permissions for Office 2007,
but not for the server.
Problem: Access does not recognise my old SQLs and my old funtions. Wherever
there is table joining, "LEFT" of "RIGHT" are not recognised in the
FROM-clause as part of it. And hence, returns the message "unidentified
function LEFT in expression".
AND where there IS an expression, "LEFT" is not recognised at all.
However, inseide the SQL there is no problem and it runs without error.
Errors occur when [job] is started outside the SQL.

Help anybody?
 
P

Paul Shapiro

It sounds like you're missing some library references after the switch to
2007. Open the VBA editor and check Tools menu -> References. If any say
"Missing" then find the correct reference.
 
J

John F

Thanks Paul,
I already did, and utility.mda was mising, but not allowed back again. is
there a way around?


Paul Shapiro said:
It sounds like you're missing some library references after the switch to
2007. Open the VBA editor and check Tools menu -> References. If any say
"Missing" then find the correct reference.

John F said:
I recently got updated to Access 2007 from 2003. My datbase sits on an
out-of-house server, and I have administrator permissions for Office 2007,
but not for the server.
Problem: Access does not recognise my old SQLs and my old funtions.
Wherever
there is table joining, "LEFT" of "RIGHT" are not recognised in the
FROM-clause as part of it. And hence, returns the message "unidentified
function LEFT in expression".
AND where there IS an expression, "LEFT" is not recognised at all.
However, inseide the SQL there is no problem and it runs without error.
Errors occur when [job] is started outside the SQL.
 
D

Douglas J. Steele

You shouldn't need utility.mda (I don't believe it's actually been required
since Access 97)

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


John F said:
Thanks Paul,
I already did, and utility.mda was mising, but not allowed back again. is
there a way around?


Paul Shapiro said:
It sounds like you're missing some library references after the switch to
2007. Open the VBA editor and check Tools menu -> References. If any say
"Missing" then find the correct reference.

John F said:
I recently got updated to Access 2007 from 2003. My datbase sits on an
out-of-house server, and I have administrator permissions for Office
2007,
but not for the server.
Problem: Access does not recognise my old SQLs and my old funtions.
Wherever
there is table joining, "LEFT" of "RIGHT" are not recognised in the
FROM-clause as part of it. And hence, returns the message "unidentified
function LEFT in expression".
AND where there IS an expression, "LEFT" is not recognised at all.
However, inseide the SQL there is no problem and it runs without error.
Errors occur when [job] is started outside the SQL.
 
J

John F

Thank you,
I have read something about this, but as it's the only missing item, I've
tried to install it, and to no avail.

Douglas J. Steele said:
You shouldn't need utility.mda (I don't believe it's actually been required
since Access 97)

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


John F said:
Thanks Paul,
I already did, and utility.mda was mising, but not allowed back again. is
there a way around?


Paul Shapiro said:
It sounds like you're missing some library references after the switch to
2007. Open the VBA editor and check Tools menu -> References. If any say
"Missing" then find the correct reference.

I recently got updated to Access 2007 from 2003. My datbase sits on an
out-of-house server, and I have administrator permissions for Office
2007,
but not for the server.
Problem: Access does not recognise my old SQLs and my old funtions.
Wherever
there is table joining, "LEFT" of "RIGHT" are not recognised in the
FROM-clause as part of it. And hence, returns the message "unidentified
function LEFT in expression".
AND where there IS an expression, "LEFT" is not recognised at all.
However, inseide the SQL there is no problem and it runs without error.
Errors occur when [job] is started outside the SQL.
 
D

Douglas J. Steele

So what happens when you remove the reference to it? Does your application
run correctly?

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


John F said:
Thank you,
I have read something about this, but as it's the only missing item, I've
tried to install it, and to no avail.

Douglas J. Steele said:
You shouldn't need utility.mda (I don't believe it's actually been
required
since Access 97)

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


John F said:
Thanks Paul,
I already did, and utility.mda was mising, but not allowed back again.
is
there a way around?


:

It sounds like you're missing some library references after the switch
to
2007. Open the VBA editor and check Tools menu -> References. If any
say
"Missing" then find the correct reference.

I recently got updated to Access 2007 from 2003. My datbase sits on
an
out-of-house server, and I have administrator permissions for Office
2007,
but not for the server.
Problem: Access does not recognise my old SQLs and my old funtions.
Wherever
there is table joining, "LEFT" of "RIGHT" are not recognised in the
FROM-clause as part of it. And hence, returns the message
"unidentified
function LEFT in expression".
AND where there IS an expression, "LEFT" is not recognised at all.
However, inseide the SQL there is no problem and it runs without
error.
Errors occur when [job] is started outside the SQL.
 
J

John W. Vinson

Thank you,
I have read something about this, but as it's the only missing item, I've
tried to install it, and to no avail.

Simply uncheck it. If you're not using it (and it's very unlikely that you
are!) nothing should break. If something does break, you'll need to either
find a copy of the utility, or change the code to use newer libraries - but if
you uncheck it, compile the database, and everything compiles correctly, you
should be good to go.
 
D

David W. Fenton

You shouldn't need utility.mda (I don't believe it's actually been
required since Access 97)

It wasn't a reference even then. Indeed, I think it dates back to
Access 2.
 
J

John F

That's right. Thank you for the very simple and (to me, not so) obvious
solution. Everything runs just as I like it.
I'm taking the rest of the day off.

Douglas J. Steele said:
So what happens when you remove the reference to it? Does your application
run correctly?

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


John F said:
Thank you,
I have read something about this, but as it's the only missing item, I've
tried to install it, and to no avail.

Douglas J. Steele said:
You shouldn't need utility.mda (I don't believe it's actually been
required
since Access 97)

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


Thanks Paul,
I already did, and utility.mda was mising, but not allowed back again.
is
there a way around?


:

It sounds like you're missing some library references after the switch
to
2007. Open the VBA editor and check Tools menu -> References. If any
say
"Missing" then find the correct reference.

I recently got updated to Access 2007 from 2003. My datbase sits on
an
out-of-house server, and I have administrator permissions for Office
2007,
but not for the server.
Problem: Access does not recognise my old SQLs and my old funtions.
Wherever
there is table joining, "LEFT" of "RIGHT" are not recognised in the
FROM-clause as part of it. And hence, returns the message
"unidentified
function LEFT in expression".
AND where there IS an expression, "LEFT" is not recognised at all.
However, inseide the SQL there is no problem and it runs without
error.
Errors occur when [job] is started outside the SQL.
 

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

Similar Threads


Top