Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with tablerevert()
Message
 
To
16/04/1999 04:30:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00208894
Message ID:
00208985
Views:
22
With row buffering, as soon as you moved the record pointer an implicit TABLEUPDATE() was issued.

>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.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform