acitano
Guest
Bye to all,
I built a 2007 access database with custom vba functions inserted in some db query.
I have to question the db through visuallisp and ado.
there is a library of functions very famous "adolisp_library.lsp" http://acad.fleming-group.com/download/adolisp/adolisp.html that allows to interface with the most famous db such as excel access sql server foxpro etc.
the library works perfectly when I interrupt the db, I can see simple query tables or even pass a sql stringas and receive the result.
when I have to question a query that contains my vba functions gives me the following error:
automation error. 'getdeltaprev3' function not defined in the expression.
description 'getdeltaprev' function undefined in the expression.
helpcontext 5003085
helpfile
nativeerror -530123806
number -2147217900
sqlstate 3085
source microsoft office access database engine
getdeltaprev3 is my function defined in a module of my db from the rest of the message you get the microsoft error codes.
looking a little here and I realized that it is not easy to digest internal vba functions to access outside so in my case to autolisp and adolsip_library.
What do I do? I make a call to a simple query and then I remake the functions in lisp? I'd like to know what death I have to die, because if that's the case, I'll put two or three more days of work.
thank you in advance and apologize if I went a little off the theme.
acitano
I built a 2007 access database with custom vba functions inserted in some db query.
I have to question the db through visuallisp and ado.
there is a library of functions very famous "adolisp_library.lsp" http://acad.fleming-group.com/download/adolisp/adolisp.html that allows to interface with the most famous db such as excel access sql server foxpro etc.
the library works perfectly when I interrupt the db, I can see simple query tables or even pass a sql stringas and receive the result.
when I have to question a query that contains my vba functions gives me the following error:
automation error. 'getdeltaprev3' function not defined in the expression.
description 'getdeltaprev' function undefined in the expression.
helpcontext 5003085
helpfile
nativeerror -530123806
number -2147217900
sqlstate 3085
source microsoft office access database engine
getdeltaprev3 is my function defined in a module of my db from the rest of the message you get the microsoft error codes.
looking a little here and I realized that it is not easy to digest internal vba functions to access outside so in my case to autolisp and adolsip_library.
What do I do? I make a call to a simple query and then I remake the functions in lisp? I'd like to know what death I have to die, because if that's the case, I'll put two or three more days of work.
thank you in advance and apologize if I went a little off the theme.
acitano
Last edited by a moderator: