Open the table in design mode, select the field in question and in the field
properties (at the bottom) enter <>0 in the validation rule line. You can
put text for an error message in the validation text line if you dont want
the standard error message.