How to Use Access module functions via VB app with ADO 
Author Message
 How to Use Access module functions via VB app with ADO

I have created several public functions in an Access 2000
VBA module that are the equivalent of the Oracle PLSQL
datetime functions (Round,Trunc,Add_Month...). If I create
an Access Query using these functions the Query is
successful when run from inside Access. However,  if I
write a VB program using ADO and the Jet 4 provider and
try to execute this Query...ADO returns a error that my
custom functions are not defined. How do I make these
functions available to the external world?


Wed, 08 Sep 2004 06:32:10 GMT  
 How to Use Access module functions via VB app with ADO
You can't. The functions are stored inside an MDB/MDE
and only Access understands how to find and use them.
Furthermore, only Access has the query interpreter that
interprets imbedded user defined functions.

The equivalent functionality is SQL Server works quite
differently.

(david)

Quote:

> I have created several public functions in an Access 2000
> VBA module that are the equivalent of the Oracle PLSQL
> datetime functions (Round,Trunc,Add_Month...). If I create
> an Access Query using these functions the Query is
> successful when run from inside Access. However,  if I
> write a VB program using ADO and the Jet 4 provider and
> try to execute this Query...ADO returns a error that my
> custom functions are not defined. How do I make these
> functions available to the external world?



Fri, 10 Sep 2004 08:46:07 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Access Query using a Module Function Errors in ADO

2. Web App Using ASP, Vb 6.0, ADO, and Access

3. Using the DSum function in an Access Module

4. no permission to view access database via asp(using ado)

5. no permission to view access database via asp(using ado)

6. Using Module functions inside/outside VB ActiveX DLL

7. execute module contained in ms access from vb-app

8. Access Modules Functions into VB

9. Changing password in Oracle using PASSWORD command via VB app

10. MS-Access module function call from VB

11. Referencing Access Queries that use Functions stored in a module from VB

12. Changing password in Oracle using PASSWORD command via VB app

 

 
Powered by phpBB® Forum Software