Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problema
Message
From
21/01/2002 17:08:36
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Problema
Miscellaneous
Thread ID:
00608042
Message ID:
00608042
Views:
57
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
Map
View

Click here to load this message in the networking platform