If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ADODB.Recordset (0x800A0CC1)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 11:18
skatepalli skatepalli is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
ADODB.Recordset (0x800A0CC1)

Error Encountered:
Item cannot be found in the collection corresponding to
requested name or ordinal.

I am encoutering the above error message when i am trying to execute the sp. sp works fine when i execute in the query analyzer. I am not sure if i am calling it wrong. Any help appreciated. Thank You.

Function RetrieveJdeDate(dcnDB,sqldate)

Dim ObjCmd
Dim jdeBeginDate
Dim jdeEndDate
Dim parIDInput
Dim rsData
Dim date_conv


Set ObjCmd = Server.CreateObject("ADODB.Command")
Set ObjCmd.ActiveConnection = dcnDB
ObjCmd.CommandText = "SP_CONVERT_INTO_JDE_DATE"
ObjCmd.CommandType = adCmdStoredProc
ObjCmd.CommandTimeout = 0

Set parIDInput = ObjCmd.CreateParameter("parIDInput",adVarChar,adPa ramInput,15,sqldate)
Set jdeBeginDate = ObjCmd.CreateParameter("jdeBeginDate",adVarChar,ad ParamOutput,6)

ObjCmd.Parameters.Append parIDInput
ObjCmd.Parameters.Append jdeBeginDate

Set rsData = Server.CreateObject("ADODB.Recordset")

rsData.Cursorlocation = adUseClient
rsData.Open ObjCmd, ,adOpenStatic,adLockReadOnly,adCmdStoredProc


Set rsData = ObjCmd.Execute
RetrieveJdeDate = rsData(0)
End Function
%>
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On