Home | Advertising Info154 USERS CURRENTLY ONLINE   
   Site Search Contact Us Tuesday, August 20, 2019  
 
 


 
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
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free 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 - 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 ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET 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