Home | Advertising Info88 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


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



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: ASP call to Access Stored Proc
From: J. Robinson
Date: 2/22/1999 5:19:27 PM
IP: 205.147.245.41



 

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
cmd.execute
%>

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 - 2025 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 ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. 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