Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interface question
Message
From
30/10/2002 17:17:08
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00717126
Message ID:
00717145
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Nadya,

I guess that depends on how long a user session lasts, and whether files by these same will ever possible exist again. IOW, if a user "deletes" a file, then wants to create a file by the same name while your file manager is still open, there could be a problem.

Also, a user may make a change to a file another user has marked for deletion, then 10 minutes later find out the file is gone. Or someone may manually deleted a file someone has marked for deletion (but easy to overcome...simply check for file's existance before trying to delete it at form close).

If these are not possible issues, Jason's idea is a good one, and easy to put in place.

>I think, Jason's idea is the simplest one. When I press delete button, I can store recno() in a cursor. Then in form's release method I can check for these records, if the record is deleted, delete files. Seems like a cheap and easy solution. I don't see downsides at the moment. Do you?
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform