General information
Category:
Coding, syntax & commands
Title:
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.
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