Results 1 to 3 of 3

Thread: ADO 2.1 and MSSql Server 7.0

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    Salzburg, Austria
    Posts
    4

    Post

    I use an ADO 2.1 SP2 control to connect to an MS SQL Server.

    I have a recordset (Cursorlocation=ClientSide, Cursortype=Static, LockType=Optimistic)with following SQL statement: "SELECT sanr, sabz, 0 AS sel, 0 AS abspos FROM PSA ORDER by sabz"

    As you can see i use the select statement to produce new temporary columns (sel, abspos) for my application.

    After i have opened the recordset i update the abspos field (rs!abspos=index, rs.Update).

    Everything works right with an SQL Server 6.5, but using SQL Server 7.0 generates an error when i update the abspos field.

    Thanx in advance

    Martin

  2. #2

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    Salzburg, Austria
    Posts
    4

    Post

    This problem occures only with my temporary columns. Updating a column like sanr, sabz works correct - even with MS SQL Server 7.0

  3. #3
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Have you tried a temporary table?

Posting Permissions

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



Click Here to Expand Forum to Full Width