Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 23rd, 2005, 11:44 AM
Registered User
 
Join Date: Dec 2005
Location: Gastonia, NC, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Returning Stored Procedure Results from ASP page

Hello All! I need help...I am trying to access a store proc using the code below. When I test the proc in Enterprise Manager, it returns records, however it is not returning any records via the page. I copied the same syntax from another page in the website. Are there any limits to the number of columns asp can handle in a recordset?:

Dim objComm, objParam, strSite
Dim rsList 'recordset variable

Set objComm = Server.CreateObject("ADODB.Command")

objComm.ActiveConnection = sDSN
objComm.CommandType = adCmdStoredProc
objComm.CommandText = "uspFollowUp"

Set objParam = objComm.CreateParameter("@Site",adChar,adParamInpu t,6)
objComm.Parameters.Append objParam

strSite = "SITE09"
objComm.Parameters("@Site") = strSite

Set rsList = objComm.Execute

Set objComm = Nothing
Set objParam = Nothing

Cheers! Jenna:D
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning a value (stored procedure scandalous ASP.NET 2.0 Basics 9 November 7th, 2007 03:41 PM
Returning Values from a Stored Procedure kadjw SQL Server ASP 1 September 13th, 2006 12:08 PM
Stored Procedures returning no results to access 50bmg_de SQL Server 2000 5 February 21st, 2006 04:58 AM
Problems returning count in Stored Procedure planza SQL Language 1 December 21st, 2005 03:24 PM
Calling stored procedure from ASP page niravp SQL Server ASP 7 March 19th, 2004 07:40 PM



All times are GMT -4. The time now is 04:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.