Is it possible to call code in Access using DAO? 
Author Message
 Is it possible to call code in Access using DAO?

Does anyone know if it is possible to call code from an access module using
DAO?

I need to execute code in an Access database from the web.

Any ideas would be appreciated?

Colin.



Fri, 04 May 2001 03:00:00 GMT  
 Is it possible to call code in Access using DAO?
Colin:

No you can't call code directly from DAO.  If you run a query (aka command
in ADO) which contains a call to a function in the db, and the function will
run as part of the query.  If you are using asp, you could instantiate an
access object and then use the RunCommand method of that object to execute
code, but this incurs lots and lots of overhead on the server and is
impractical, especially if you have many users banging away at one time.
Rather build your code into the ASP code (or cgi etc.) that you are running.

HTH

Steve Arbaugh
ATTAC Consulting Group
http://ourworld.compuserve.com/homepages/attac-cg/acgsoft.htm


Quote:
>Does anyone know if it is possible to call code from an access module using
>DAO?

>I need to execute code in an Access database from the web.

>Any ideas would be appreciated?



Sun, 06 May 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help Using code in www.mvps.org API CALL to hide Access 97

2. Possible Memory Leak When Using ADO/DAO with VB6

3. I am using the GetVersionEx API call

4. Accessing versions of Access using VC++ & DAO

5. Calling Excel code within Access code?

6. Accessing secured Access database using DAO

7. display chinese using DAO 3.6/VB6 in accessing Access 2000 DB.

8. I am trying to update a record, i am not using data control

9. I am trying to update a record, i am not using data control

10. Calling functions/subs using the string title - possible?

11. FTP resume possible using WinInet API call?

12. Calling Access from Access stops code in debug mode

 

 
Powered by phpBB® Forum Software