Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problema
Message
De
21/01/2002 17:08:36
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Problema
Divers
Thread ID:
00608042
Message ID:
00608042
Vues:
56
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform