Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with tablerevert()
Message
From
16/04/1999 04:30:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problems with tablerevert()
Miscellaneous
Thread ID:
00208894
Message ID:
00208894
Views:
67
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
Map
View

Click here to load this message in the networking platform