Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Rules and deleting
Message
From
18/05/2001 23:45:13
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Business Rules and deleting
Miscellaneous
Thread ID:
00509047
Message ID:
00509047
Views:
55
Hello all,

I have come across a situation that I find a little strange. When using business rules, it checks them during a save as you would expect, but what about when I have an occasion to have a business rule that says you can't delete something? We have some records of a certain type in our current application that we don't want to be deleted. Our first thoughtwas to create a business rule to that affect. We found out that the business rules are only checked when a save is done. We have modified the framework to do the same check when a delete is done, but were wondering what others have done in this scenario. Is there a better way to handle this through the framework? Is it standard practice to not check business rules when a record is being deleted?

TIA

Brian
Next
Reply
Map
View

Click here to load this message in the networking platform