Error Question

Results 1 to 2 of 2

Thread: Error Question

  1. #1
    Join Date
    Dec 1969

    Default Error Question

    What can I do to fix this error:<BR>ADODB.Recordset (0x800A0CC1)<BR>Item cannot be found in the collection corresponding to the requested name or ordinal.<BR><BR>The code that it is pointing to is:<BR>&#060;%If mode="Edit" then <BR> Response.Write(dbRecordset(6))<BR>else<BR>Response .Write(PresentDate)<BR> end if<BR> %&#062;

  2. #2
    Join Date
    Dec 1969

    Default RE: Error Question

    I access records sets like this <BR><BR>rs.Fields("FieldName").value<BR><BR>rs being my record set and fieldname being the field I want the data from. There is a way to access the 6th columns field but I don&#039;t think you have the syntax quite right.<BR><BR>do you really need the sixth field or would the name be better?<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts