Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interface question
Message
From
30/10/2002 16:53:54
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00717126
Message ID:
00717135
Views:
15
This message has been marked as the solution to the initial question of the thread.
Nadya,
How about mimicking VFP behavior. That is, mark the files in the grid (maybe with a checkbox) for deletion. When the user finally makes up their mind to accept the changes they made (I'm assuming that must happen at some point!) issue the TABLEUPDATE() and based on the return value, delete the marked files. This way, you don't have to worry about undeleting, trashcans, or recycle bins.

---J

>Hi everybody,
>
>I have FileAdmin application. It basically logs files used in the system, allows to archive/unarchive them, delete them, etc.
>The main form has a grid and a standard navigation bar. If user presses delete button, selected records are deleted, some info in the record is updated and files get deleted too. However, form uses 5 buffering, which means, that user may regret his/her action and press a revert button. The records become undeleted, but the files are already gone.
>
>So, my question is: what would you suggest me to do? How can I find out, if record was deleted and then reverted back? How can I undelete the file?
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform