Use of IsNull() in SQL expression and Error 3085 (VB4-16 
Author Message
 Use of IsNull() in SQL expression and Error 3085 (VB4-16

I am using isnull() in a SQL expression for building a recordset.
The problem is, on PCs the application is deployed to, error 3085
occurs: "Undefined function 'IsNull' in expression."

The code works great both in the development environment and in the
EXE on development PCs, but not on PCs the application is installed
on. I assume there is a missing or outdated library on the client
PCs where this is occuring. However, normal troubleshooting hasn't
uncovered what it might be. I've compared file listings from the
bad PCs with the good ones, temporarily removed all files from
the good PCs which were not on the bad PCs, and the good PCs still
work fine. Perhaps a library on both systems is not being properly
registered on some? The application in question has quite a bit
of other SQL code which has, to date, worked successfully. I find
it interesting that the first occurance of a simple function like
IsNull in a query would cause a problem like this.

Any ideas? For reference, the knowledge base has nothing related.
The environment is VB4 - 16 bit running under any OS.

Tony Hamilton



Wed, 14 Jul 1999 03:00:00 GMT  
 Use of IsNull() in SQL expression and Error 3085 (VB4-16

You know what I would suggest is you can not always believe in the error
msg from the system. Could be something very irrelevant. I have some
very bad experience in believing in the system error msg's but things
turned out to be something else.

In this respect, VB 4.0 can not be trusted so much as VB 3.0.
Jeff HONG YAN

Quote:

> I am using isnull() in a SQL expression for building a recordset.
> The problem is, on PCs the application is deployed to, error 3085
> occurs: "Undefined function 'IsNull' in expression."

> The code works great both in the development environment and in the
> EXE on development PCs, but not on PCs the application is installed
> on. I assume there is a missing or outdated library on the client
> PCs where this is occuring. However, normal troubleshooting hasn't
> uncovered what it might be. I've compared file listings from the
> bad PCs with the good ones, temporarily removed all files from
> the good PCs which were not on the bad PCs, and the good PCs still
> work fine. Perhaps a library on both systems is not being properly
> registered on some? The application in question has quite a bit
> of other SQL code which has, to date, worked successfully. I find
> it interesting that the first occurance of a simple function like
> IsNull in a query would cause a problem like this.

> Any ideas? For reference, the knowledge base has nothing related.
> The environment is VB4 - 16 bit running under any OS.

> Tony Hamilton




Thu, 15 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Use of IsNull() in SQL and Error 3085 - (VB4-16)

2. Error 3085 with Access 2.0/VB4(16), using calculated columns

3. SQL Error 3085 - Using Access VBA Functions in VB4

4. SQL Error 3085 - Using MS-Access VBA Functions in VB 4

5. Error 20639: SQL Expression error - Error in creating SQL Expression COM Parser (cpeaut32)

6. SQL Error 3085 - Function undefined

7. Using custom Access function with VB5 (Run-time error 3085) - Mimmo Spadavecchia

8. 3085 error when using DAO

9. DAO error 3085 - WITHOUT CUSTOM FUNCTIONS!

10. DAO error 3085 - with BUILT-IN FUNCTIONS

11. Run Time error 3085 - Undefined Function

12. Help needed: Runtime error 3085 (unknown function)

 

 
Powered by phpBB® Forum Software