General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Vc lembra do LOCK/UNLOCK, pois é, vc não usa mais o acesso ao arquivo para usar esta solução, então vc tem que encontrar um meio de marcar o registro quando alguém clicar em alterar e não permitir que outro entre na alteração tb. pode ser um campo logico...
Outra hipótese (surgiu agora, nunca fiz isso) seria fazer um arquivo (ou cursor) de LOG onde fique o nome da tabela, o registro e o usuário que está alterando, quando outro tentar alterar faça um seek neste log e se não tiver nada impedindo deixe alterar e grave esta informação no log, ao gravar remova do log. (que vc acha?)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only