janz_03 0 Newbie Poster

im trying to make a error trap for my program. my program is all about receiving report module, i have to modules, receiving report entry and update. and my problem is how can i make a code if one of the receiving report items were not found in the purchase order.. the error message must be prompt up during entering the receiving report number in the update form.. please help me with this