ADO And SQL server 200O
From: Ken Lange (langekg_at_cox.net)
Date: 03/09/05
- Next message: Dominic: "MsAccess, Jet and ADO"
- Previous message: Stanko Milosev: "Re: Refresh ADO Dataset over a network"
- Next in thread: Brian Bushay TeamB: "Re: ADO And SQL server 200O"
- Reply: Brian Bushay TeamB: "Re: ADO And SQL server 200O"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 09 Mar 2005 14:36:02 -0800
I have an interaweb frontend that I use against an SQL server. I need
to check the data for completeness before posting it to the permanent
table. Right
I have my databound controls connected to a temporary table, and when
the user saves I check it for completeness before doing an update to the
permanent table. My problem is when I try to clean up my user's
record(s) in the temp table, if another user has a record in the temp
table, record
locking is hold ing up my delete. I am using optimistic locking, but my
DBA says that it is still keeping me from inspecting records to
determine if they
should be deleted. Can I adjust my ADO components to not cause a lock on
the table, or is there another way.
I thought about using a clientdataset, but I can't figure how to load it
from the provider's dataset, deactivate the provider's dataset,( to
clear the lock)
while keeping the client dataset active, do the editing, (even check the
data in the data set and forego the temp table maybe?) and then
reconnect to the provider's dataset and then apply updates; I thought
this should be possible, but I can't find out how to do it. If this is
possible can someone show me the sequence of commands to do it?
Thanks.
- Next message: Dominic: "MsAccess, Jet and ADO"
- Previous message: Stanko Milosev: "Re: Refresh ADO Dataset over a network"
- Next in thread: Brian Bushay TeamB: "Re: ADO And SQL server 200O"
- Reply: Brian Bushay TeamB: "Re: ADO And SQL server 200O"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|