access2000 module function in views and VB6

T

Tarun Ralhan

Hi everybody,

I have created some functions in access modules. When I
use these functions in my queries, they work fine. But
when I try to use these queries through my VB6 program, I
get:
Run-time error '-2147217900 (80040e14)':
Undefined function 'functionname' in expression.
Can anybody explain why it is so and how I can use
functions defined in my access2000 module thru my VB6
program? Thanks in advance.
 
M

Marshall Barton

Tarun said:
I have created some functions in access modules. When I
use these functions in my queries, they work fine. But
when I try to use these queries through my VB6 program, I
get:
Run-time error '-2147217900 (80040e14)':
Undefined function 'functionname' in expression.
Can anybody explain why it is so and how I can use
functions defined in my access2000 module thru my VB6
program?

Jet can't interact with Access unless Access is opening the
query. VB does not provide Jet with the necessary interface
to use UDFs.
 

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