Information générale
Catégorie:
The Mere Mortals Framework
Thanks for the response Alex,
If I understand correctly something liek this:
BizRule sets a property on its BizObj indicating a warning message.
BizObj checks the property in the PreSaveHook and cancels the save if set.
Form receives the FILE_CANCEL message.
Code in the SAVE/SAVERECORD method checks the FILE_CANCEL and the BizObj property
If the BizObj property is set call MSGSVC and check user response of warning.
If User responds YES I want to do this. Reset the BizObj property to a value that will override the warning check, call the SAVERECORD method again. Selects NO take the natural course.
Field Level Validation:
I'll look for that thread. I seem to remember seeing something on field level validation in the last couple of weeks now that my memory had been jogged.. I have build subclasses of some of the controls to do field level validaion by calling the appropriate BizRule method. Particulary checking for Uniqueness in values. Still use the lUniques property to control the call, other validation crietria calls are in a custom method of the control. I think I was looking for some 'mechanics' of how others are performing FLV.
Bob
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement