HELP!!! rs.fields(i).value is destructive

Discussion in 'SQL Server' started by QBDev, Jul 30, 2008.

  1. QBDev

    QBDev New Member

    Joined:
    Jul 30, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    VB6. ODBC, ADO, SQL Server

    I think that I am going crazy.

    1 program seems to get this problem intermittantly.

    I can only read the data once. They it goes to null

    ODBCRS.Close:Set ODBCRS = ODBCCon.Execute(SQLString, iRecordsAffected)
    ? ODBCRS.Fields(93).Value,ODBCRS.Fields(93).Value
    Sergio Null

    Even ? ODBCRS.Fields(94) will charge field 93 to nulls

    It does NOT happen on all fields. Field 94 in this case works fine.

    What am I missing?

    Help!!!!!!!!!!!!!
    Jack
     
  2. Cseek

    Cseek New Member

    Joined:
    Dec 1, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    train driver
    Location:
    hubli / karnataka
    Home Page:
    http://www.gmail.com
    what is sqlstring;
    what is field94
    what is the cursor type of your connection object
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice