1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem having ADODB.Field error '800a0bcd'

Discussion in 'C#' started by wonder_gal, Oct 19, 2005.

  1. #1
    When I execute my asp written page i encountered an error known as

    <ADODB.Field error '800a0bcd'
    Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. >

    But I've checked that my recordset did contain records and my session did not times out.

    Can someone pls kindly point out to me what possibly cause this error? Ur help is very much appreciated. Thanks.
     
    wonder_gal, Oct 19, 2005 IP
  2. factorysealed

    factorysealed Well-Known Member

    Messages:
    120
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    135
    #2
    I would guess the problem is that your query returned 0 records and somewhere in your code you are trying to reference the recordset.

    Without posting your code though it's tuff to tell...

    Are you using a line similar to "if not rs.eof then" ?
     
    factorysealed, Oct 19, 2005 IP
  3. baseballcube

    baseballcube Peon

    Messages:
    107
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    When I get this error, its usually because my query returns no records and then I reference the recordset later.

    Also check to make sure that you don't have 2 queries referencing the same recordset object, especially in a loop.
     
    baseballcube, Oct 24, 2005 IP
  4. wonder_gal

    wonder_gal Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ya, im using "if not rs.eof then"s looping condition. I solved the problem already, really thanks alot.
     
    wonder_gal, Oct 26, 2005 IP