Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with tablerevert()
Message
De
16/04/1999 04:30:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problems with tablerevert()
Divers
Thread ID:
00208894
Message ID:
00208894
Vues:
65
People ,

Again i have problems with the tablerevert function.
I have set my datasession to private , my buffering have i set
with cursorsetprop to 3.

I have a namestable where i keep the names of tables.The user can do an undo and then i do a scan of the namestable like this.


Select namestable
scan
lcnametb = namestable.name
select (namestable.name)

tablerevert()
locate
endcan


When the user creates a new record i get an uniques error
that idicates that the tablerevert has failed.

if i debug the code the tablerevert function returns a true that indicatesthat the tablerevert has succeeded.

I know that i must move the cursor away from the reverted record.
My question is this.

What is the smartest way to do this.
Can you give some good advise.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform