Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1526 Errors
Message
 
À
23/01/2002 22:04:47
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00607695
Message ID:
00610285
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform