Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000
From: Bass Pro (Pro_at_discussions.microsoft.com)
Date: 07/27/04
- Next message: Marcel Gätzi: "Reading Access DB: get someteimes Data - sometimes not"
- Previous message: Luigi: "ADO, SQLServer2000, stored procedure and errors"
- Next in thread: Val Mazur: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Reply: Val Mazur: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Jul 2004 09:53:58 -0700
I have a simple shaped recordset that is being updated. The properties are:
locktype= optimisticbatch
cursorlocation=client
cursortype=static
The problem is after the first update, which works fine, a second attempt fails on the same record. I checked and found the locktype had changed to READ-ONLY. What is causing it to change?
I watched the events in SQL Profiler and all looked normal on the first update. There is no indication of errors. Only the second invocation of updatebatch fails and the recordset is not updated.
Pls help, Thanks.
- Next message: Marcel Gätzi: "Reading Access DB: get someteimes Data - sometimes not"
- Previous message: Luigi: "ADO, SQLServer2000, stored procedure and errors"
- Next in thread: Val Mazur: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Reply: Val Mazur: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|