Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Customer Complained that Delete was too easy!
Message
From
31/01/2001 09:39:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00470241
Message ID:
00470591
Views:
38
I think you have a better way just requires a bit more coding...
Mark brought up a good point that they might just hit NO as fast as hitting Yes ...


>I avoid this problem by making everything reversable. I picked the habit up from a good book called Enterprise Application Architecture. That way, if they change their minds, they have a way out.
>
>Marty
>
>
>>I have a customer complaint that the Delete routine was too easy even when you had the messagebox that required them to verify the delete. He said that power mousers will hit yes before they read...
>>
>>So my solution was...
>>
>>
>>LOCAL lnAnswer
>>lnAnswer = MESSAGEBOX("CAUTION You have selected DELETE!";
>>  +CHR(13)+"Do you Want to Cancel this Delete?", 36, "Delete Record")
>>IF lnAnswer = 7  && No was selected
>>...
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform