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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macros in Access through ASP

Status
Not open for further replies.

NikkP

MIS
Sep 25, 2007
5
US
Hi I am trying yo run an Access macro through ASP. Does anyone now how to do this or where this code might be wrong, this is some VB code which i found on an article in the MSDN site...any help would be great..trying to do a final year project and am bit stuck here!

Dim oAccess
Set oAccess = CreateObject("Access.Application")
oAccess.Visible = True
oAccess.OpenCurrentDatabase "C:\MyDocuments\Project\wbspdb.mdb"
oAccess.run "GetStudents"
 
First ASP is a server side script so you won't(to my knowledge) be able to open an Access database on your computer.

Again i might be wrong but i always used it with servers.

A guess!!! try VbScript or JavaScript???? Have Fun...

Sharky99 >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top