Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Problems with tablerevert()
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement