Home | Advertising Info428 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, December 12, 2019  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

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 call to Access Stored Proc
From: J. Robinson
Date: 2/22/1999 5:19:27 PM


How can you call a Stored Procedure (Access Module) from ASP? I have followed instructions found in the ASP roadmap but am getting this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access 97 Driver]Syntax error or access violation (call)

I am trying to execute the following code (which outputs the results of a select query to a file in .xls format):

DoCmd.OutputTo (acOutputTable, "crstages", acFormatXLS, "crstages.xls")

Here's my ASP code:

set cnn = server.createobject("ADODB.Connection")
cnn.open "dsn=dsnsiebk"
set cmd = server.createobject("adodb.command")
cmd.activeconnection = cnn
cmd.commandtype = 4
'cmdtext = "sub crsumtoexcel() "
cmdtext = cmdtext & " DoCmd.OutputTo (acOutputTable, 'crstages', acFormatXLS, "
cmdtext = cmdtext & Server.MapPath ("/siebel/files") & " '\new.xls') "
'cmdtext = cmdtext & " end sub "
'cmdtext = cmdtext & " call crsumtoexcel()"
cmd.commandtext = cmdtext
cmd.prepared = true

Thanks to anyone that can help

Follow Up - Re: ASP call to Access Stored Proc - Ray 3/2/1999 9:15:50 AM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2019 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com