Where's "Left" & "Format"?

  • Thread starter Thread starter bruceMS
  • Start date Start date
B

bruceMS

I'm an occasional Access programmer and was asked to write an
application for my church. I wrote a few queries and reports on
my home computer. When I went to install it at church I got an
error with one of my queries
ZIP5:Left([ZIP],5)
saying that it didn't know what Left was.

I also got an error on a report where I had on the header:
Format(Now(),"yyyy")
where I was trying to display the current year.

I used Access 2002 to develop and I just found out that the
church has Access 2000.

Does 2000 not have those functions or do I have to upgrade
to 2002? Or is there another way to do it in 2000?

TIA
 
When I went to install it at church I got an
error with one of my queries
ZIP5:Left([ZIP],5)
saying that it didn't know what Left was.

This appears to be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
..DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.

John W. Vinson[MVP]
 
John said:
When I went to install it at church I got an
error with one of my queries
ZIP5:Left([ZIP],5)
saying that it didn't know what Left was.

This appears to be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
.DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.

Thanks John... I'll give it a try...
 
Back
Top