VB expressions do not work properly in different installations of Access 97 
Author Message
 VB expressions do not work properly in different installations of Access 97

A database I built uses, in both queries and modules, various
expressions. All of these work properly when I run the objects involved,
using Access 97 SR-2 on my workstation (which is also where I built the
database).  However, another user has problems running these objects.
The main problem seems to be the use of string-functions (Mid, Left) and
lookups.We both use the same file (stored on a LAN), the same version of
Access and we both have the same privileges.

The error message when opening queries that uses, for instance, a
calculated field " Expr1: Left([Fieldname],2) " is as follows: "
Function isn't available in expressions in query expression
'Left([Fieldname],2)'
The same function in a VB module triggers a "Compile error: can't find
project or library".

The user having these problems in using my database, does not have them
in using his own databases.

A. de Vries
Trainee at Mannesmann Demag Delaval
Hengelo, The Netherlands



Tue, 04 Feb 2003 03:00:00 GMT  
 VB expressions do not work properly in different installations of Access 97
sounds like a problem with references on the other machine.
have you checked them?  compare from one machine to the other

under tools menu in any VBA module



Quote:
>A database I built uses, in both queries and modules, various
>expressions. All of these work properly when I run the objects involved,
>using Access 97 SR-2 on my workstation (which is also where I built the
>database).  However, another user has problems running these objects.
>The main problem seems to be the use of string-functions (Mid, Left) and
>lookups.We both use the same file (stored on a LAN), the same version of
>Access and we both have the same privileges.

>The error message when opening queries that uses, for instance, a
>calculated field " Expr1: Left([Fieldname],2) " is as follows: "
>Function isn't available in expressions in query expression
>'Left([Fieldname],2)'
>The same function in a VB module triggers a "Compile error: can't find
>project or library".

>The user having these problems in using my database, does not have them
>in using his own databases.

>A. de Vries
>Trainee at Mannesmann Demag Delaval
>Hengelo, The Netherlands

-------------------
Richard Killey

Visit www.comeandread.com/access for some Access 97 tips.



Tue, 04 Feb 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DLL usage - works in Access 97 but not in Access 2000

2. Parameterized Update query not working correctly in Access 97

3. Access 97 - Application.Quit does not work if msgbox is displayed

4. Access 97 RecordsetClone not working for Date

5. DeleteObject not working with Access 97

6. Correlated subquery in DELETE stmt not work in Access '97 or 2000

7. ADO OLEDB will not work on Access 97

8. Visdata Grid not working with Access 97

9. LIKE Operator not working as with access 97

10. Microsoft.Jet.OLEDB.4.0 Provider not working with Access 97 MDB

11. vb .net validating event does not work properly

12. VB OCX problem: WindowFromPoint() API not working properly.

 

 
Powered by phpBB® Forum Software