I have a bound form which has a save button with existing Save function call (written by someone else). I have recently added few new fields to the form and added a code, sample below:
if isnull(NewAmount) then
msgbox "NewField required"
Call Savefunction() 'existing Save function
How do i cancel the Call of Savefunction() if Isnull logic is true? currently although i get error message but save still go through and closes the form (which is the function of existing Savefunction call).