Question : Acess references

I have designed a database at home, and when I tried to use it at work I got the following error:

Compile error:

Can't find project or library


it is caused by the use of certain functions in my Access Forms VB such as Left/Right/Len/Str.

Under the references Tab it shows that it is missing reference MAPIForm Object Type Library

anyone know how I  get these functions supported?

Answer : Acess references

You need to update the reference to the file MAPIFVBX.TLB in your home version.   Access will crash on the first use of a reference found in an external library, which includes pretty much any of the usual functions you use like Left(), Right(), etc...  You should be able to copy this file from work if you don't have it anywhere on your home machine.  It's usually found in the Windows System directory and is about 5K.

cjswimmer
Random Solutions  
 
programming4us programming4us