General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Todos sabemos que não se pode usar Tablerevert() em transações, ponto pacifico.
mas brincando com o VFP 6/7 criei uma rotina que segue:
CLOSE ALL
CLEAR ALL
BEGIN TRANSACTION
USE CLIENTES IN 0 SHARED ALIAS CLIENTES
=CURSORSETPROP("Buffering" , 3, "CLIENTES")
REPLACE ATIVO WITH 2 IN CLIENTES
=TABLEREVERT(.T.,"CLIENTES")
ROLLBACK
CLOSE ALL
CLEAR ALL
Neste exemplo rodando em um prg tablerevert() funciona !
porgunta: porque ? pode-se usar qq. tabela como exemplo.
Allguem tem uma explicação ?
Agradeço antecipadamente
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