Action Failed for extracting data to append on another table

G

Guest

Hi,

One of the strangest things I come across. Tested fine on my workstation.
Executed the same macro on another workstation which has the same version of
ACCESS 2000 (9.0.2720) and ran into this error "Function is not available in
expressions in query 'RIGHT([tblname!fieldname],7)'."

Any ideas will be greatly appreciated.


Thanks,
Siew-Ming
 
G

Guest

It is missing a reference. Go into any module or code for any form and select
Tools, References. Uncheck any that have missing against them.
 
G

Guest

Dennis,

I just checked the references on both machines, they look identical.

VB for applications
Microsoft Access 9.0 Object Library
OLE automation
Microsoft Active X Data Object 2.1 library
Microsoft DAO 3.6 Object Library

Something is still missing.

Siew-Ming

Dennis said:
It is missing a reference. Go into any module or code for any form and select
Tools, References. Uncheck any that have missing against them.

Siew-Ming said:
Hi,

One of the strangest things I come across. Tested fine on my workstation.
Executed the same macro on another workstation which has the same version of
ACCESS 2000 (9.0.2720) and ran into this error "Function is not available in
expressions in query 'RIGHT([tblname!fieldname],7)'."

Any ideas will be greatly appreciated.


Thanks,
Siew-Ming
 
J

John Spencer (MVP)

They may look identical, but I would still uncheck one, close the window, reopen
it and recheck it. There is a good probability that there is a difference you
are not seeing.

Siew-Ming said:
Dennis,

I just checked the references on both machines, they look identical.

VB for applications
Microsoft Access 9.0 Object Library
OLE automation
Microsoft Active X Data Object 2.1 library
Microsoft DAO 3.6 Object Library

Something is still missing.

Siew-Ming

Dennis said:
It is missing a reference. Go into any module or code for any form and select
Tools, References. Uncheck any that have missing against them.

Siew-Ming said:
Hi,

One of the strangest things I come across. Tested fine on my workstation.
Executed the same macro on another workstation which has the same version of
ACCESS 2000 (9.0.2720) and ran into this error "Function is not available in
expressions in query 'RIGHT([tblname!fieldname],7)'."

Any ideas will be greatly appreciated.


Thanks,
Siew-Ming
 
V

Van T. Dinh

This is not the cause of the problem you posted but the Field reference is
incorrect. It should be:

RIGHT([tblname]![fieldname],7)

(square brackets added).
 

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