S
Si
Hi Guys
I am using this code to execute an Access VBA function from ASP:
strDbName = strDataSource & "data\webjobs.mdb"
Set objAccess = Server.CreateObject("Access.Application")
objAccess.Visible = False
objAccess.OpenCurrentDatabase strDbName
objAccess.Run "ASP_SkillSearch", strTable, oUpload.Form("firstname"),
oUpload.Form("surname")
I have a few issues that i need to solve, any help would be greatly
appreciated:
1/ This code takes around 2+mins to run, so I would like the code to run and
for the webpage to be released immediately, so that they do not have to wait
for the code.
2/ I would like to do a similar thing that i do in VB6 (i am new to ASP)
which i would use this code for:
on error resume next
Set objAccess = Server.GetObject("Access.Application")
If err = True then
Set objAccess =
Server.CreateObject("Access.Application")
End if
Is it possible to check if a version of access is running, like above?
3/ I would like to check if the function within access that i am attempting
to execute is running already.
Sorry about the list of problems,
As i said before any help would be greatly appreciated.
Thanks Si
I am using this code to execute an Access VBA function from ASP:
strDbName = strDataSource & "data\webjobs.mdb"
Set objAccess = Server.CreateObject("Access.Application")
objAccess.Visible = False
objAccess.OpenCurrentDatabase strDbName
objAccess.Run "ASP_SkillSearch", strTable, oUpload.Form("firstname"),
oUpload.Form("surname")
I have a few issues that i need to solve, any help would be greatly
appreciated:
1/ This code takes around 2+mins to run, so I would like the code to run and
for the webpage to be released immediately, so that they do not have to wait
for the code.
2/ I would like to do a similar thing that i do in VB6 (i am new to ASP)
which i would use this code for:
on error resume next
Set objAccess = Server.GetObject("Access.Application")
If err = True then
Set objAccess =
Server.CreateObject("Access.Application")
End if
Is it possible to check if a version of access is running, like above?
3/ I would like to check if the function within access that i am attempting
to execute is running already.
Sorry about the list of problems,
As i said before any help would be greatly appreciated.
Thanks Si