Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing class module method from outside of Access 1

Status
Not open for further replies.

Manch

Programmer
Jun 12, 2001
43
US
I have a class module that I have created in Microsoft Access. This module has a method that takes one parameter. Can I access this method from outside of Access using ASP and ADO, or do I have to convert this to an SQL database and use a stored procedure? The Access database is on our web server.
 
When you say 'method', I assume that the method is a Function in the Access module. You should not have to convert the database unless you want for other reasons. It is probably possible to create an instance of Access and use the Function, but I have never done this. Another possiblity would be to duplicate the function on the ASP application. You could make it an include file and include it on the pages where you need it. You could make a windows script component and it would be saved as a file with the wsc extention. The windows script wizard is available on the microsoft site. I believe the download file is wz10en.exe. A good book like Active Server Pages 3.0 WROX press guides you through this process.

Probably better to post on the ASP form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top