Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000
From: Val Mazur (group51a_at_hotmail.com)
Date: 07/28/04
- Next message: Val Mazur: "Re: Reading Access DB: get someteimes Data - sometimes not"
- Previous message: Val Mazur: "Re: ADO, SQLServer2000 and errors"
- In reply to: Bass Pro: "Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Next in thread: Bass Pro: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Reply: Bass Pro: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Jul 2004 00:07:09 -0400
Hi,
Do you get read-only recordset right after you call UpdateBatch or you do
some extra staff after this? Do you refresh recordset somehow or not?
-- Val Mazur Microsoft MVP "Bass Pro" <Bass Pro@discussions.microsoft.com> wrote in message news:886665F3-7C0D-4953-A793-FEB61B102DCF@microsoft.com... >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: Val Mazur: "Re: Reading Access DB: get someteimes Data - sometimes not"
- Previous message: Val Mazur: "Re: ADO, SQLServer2000 and errors"
- In reply to: Bass Pro: "Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Next in thread: Bass Pro: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Reply: Bass Pro: "Re: Shaped Recordset and Updatebatch - VB6 & ADO & SQL Server 2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|