>WITH ThisForm
> IF .BeforeSave()
> IF .Save()
> .AfterSave()
> ENDIF
> ENDIF
>ENDWITH
>
>Only the Save has generic code. The BeforeSave and AfterSave can be customized for each form.
Craig,
Why not move the BeforeSave and AfterSave calls into the form's save method, then your button only has;
IF THISFORM.Save()
ELSE
ENDIF