HighDots Forums  

RecordCount on Stored Procedure

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss RecordCount on Stored Procedure in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Adam R
 
Posts: n/a

Default RecordCount on Stored Procedure - 11-24-2003 , 10:56 AM






Im trying to do a "RecordCount" on stored procedure that returns a Recordset
but i keep getting :

Object doesn't support this property or method:

what setting do i have to change to the code that dreamweaver has written to
get this to work ?

set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_artco_STRING
Command1.CommandText = "dbo.sp_filterbycat"
Command1.Parameters.Append Command1.CreateParameter("@RETURN_VALUE", 3, 4)
Command1.Parameters.Append Command1.CreateParameter("@catid", 3,
1,100,Command1__catid)
Command1.CommandType = 4
Command1.CommandTimeout = 0
Command1.Prepared = true
RsGenreFilter = Command1.Execute()



Reply With Quote
  #2  
Old   
Adam R
 
Posts: n/a

Default Re: RecordCount on Stored Procedure - 11-24-2003 , 11:58 AM






help well appreciated on this one desperatelly need a solution

thanks


"Adam R" <adamr (AT) btinernet (DOT) com> wrote

Quote:
Im trying to do a "RecordCount" on stored procedure that returns a
Recordset
but i keep getting :

Object doesn't support this property or method:

what setting do i have to change to the code that dreamweaver has written
to
get this to work ?

set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_artco_STRING
Command1.CommandText = "dbo.sp_filterbycat"
Command1.Parameters.Append Command1.CreateParameter("@RETURN_VALUE", 3, 4)
Command1.Parameters.Append Command1.CreateParameter("@catid", 3,
1,100,Command1__catid)
Command1.CommandType = 4
Command1.CommandTimeout = 0
Command1.Prepared = true
RsGenreFilter = Command1.Execute()





Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.