Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
1526 Errors
Message
 
To
23/01/2002 22:04:47
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00607695
Message ID:
00610285
Views:
16
Chuck,

>Instead, I will query SQL before the delete - if data exists in other tables, display a friendly message if the bizobj lives on a form. That way the delete method never takes place. Question: Would this be a good candidate for a business rule?

You may just want to place the check in the business object's PreDeleteHook().

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform