F
Frank Dulk
I develop applications in Access 97 and now I am migrating my BD for Sql
Server 2000, more I am having a great difficulty in finding a way to control
Locks of table I give an Addnew in the table the sql Server it blocks the
whole table. I don't get nor to consult of another machine. that this being
a serious problem, since, I don't find any material that talks about
blockades of Registration in the sql server.
I read at the forum certain time in a post that in some occasions SQL blocks
the whole table in ADDNew, it will be that somebody knows which are these
occasions for me to can you avoid them.
Obs: the Blockade of the table (Lock) it only happens after the update,
until the commit.
Set Solic = MeuBD.OpenRecordset("Solic_Separacao", dbOpenDynaset,
dbSeeChanges,dbPessimistic)
'------------------------------
Solic.AddNew
Solic!Codigo_Empresa = Forms!Abertura!Empresa
Solic!Data_Separacao = Now 'Forms!Abertura!DataReferência
Solic!Tipo_Entrega = 1
Solic!Codigo_Cliente = Sugest!Codigo_Cliente
Solic!Codigo_CFO = Sugest!Codigo_CFO
Solic!Codigo_Usuario = Forms!Abertura!UsuárioAtual
Solic!Situacao_Separacao = 2
Solic.Update
Server 2000, more I am having a great difficulty in finding a way to control
Locks of table I give an Addnew in the table the sql Server it blocks the
whole table. I don't get nor to consult of another machine. that this being
a serious problem, since, I don't find any material that talks about
blockades of Registration in the sql server.
I read at the forum certain time in a post that in some occasions SQL blocks
the whole table in ADDNew, it will be that somebody knows which are these
occasions for me to can you avoid them.
Obs: the Blockade of the table (Lock) it only happens after the update,
until the commit.
Set Solic = MeuBD.OpenRecordset("Solic_Separacao", dbOpenDynaset,
dbSeeChanges,dbPessimistic)
'------------------------------
Solic.AddNew
Solic!Codigo_Empresa = Forms!Abertura!Empresa
Solic!Data_Separacao = Now 'Forms!Abertura!DataReferência
Solic!Tipo_Entrega = 1
Solic!Codigo_Cliente = Sugest!Codigo_Cliente
Solic!Codigo_CFO = Sugest!Codigo_CFO
Solic!Codigo_Usuario = Forms!Abertura!UsuárioAtual
Solic!Situacao_Separacao = 2
Solic.Update