I had two buttons that do different job but there is check data entry in common so I made a program unit for that check then I call it from these two buttons but my problem is that when there is an error within the check I got the message for user and all things I made but the its get back to the code within button and continue progressing I set a I had two buttons that do different job but the