|
|
|
|
|
| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
ASP/Access ActiveX Controls and Functions |
From: |
Drew |
Date: |
4/11/2000 4:29:33 PM |
IP: |
206.21.175.2 |
Hello,
I am trying to establish an instance of Access (No problems there) and utilize some report generation functions contained within an Access application. The Access side will write the output as a PDF to a file on the users system. I have done this once before, but I cannot seem to replicate it. I know the function on the Access side works fine because it is being used daily. My ASP code looks like the following:
set objAccess=createobject("Access.application")
objAccess.OpenCurrentDatabase "C:\WEBDelivery.mdb"
Set objDoCmd = objAccess.DoCmd
strRQ ="WAY101#"
Function PrintWebReport(strRQ)
objAccess.Quit 1
Set objCmd = Nothing
End Function
</SCRIPT>
Can anyone please help...?
Thanking you in advance,
Drew
|
|
|
|
|
|
|
|
|
|
|
|
|