Hi,
I have form which has a subform and a command button that enters records. What I'm looking to do is not allow the record to be updated unless the difference between two fields = zero.
I have attached a zip file of the database. The form is called BOL information. The two fields in question are Cartons (top left, 8th box down) and Carton Count Subtotal (bottom left of form). If Cartons - Carton Count Subtotal do not equal zero I do not want the record to be updated.
I'm looking around for the answer now and I'm not sure where I would put it in the command button to make this happen. Any thoughts?
Thanks
Eddie
I have form which has a subform and a command button that enters records. What I'm looking to do is not allow the record to be updated unless the difference between two fields = zero.
I have attached a zip file of the database. The form is called BOL information. The two fields in question are Cartons (top left, 8th box down) and Carton Count Subtotal (bottom left of form). If Cartons - Carton Count Subtotal do not equal zero I do not want the record to be updated.
I'm looking around for the answer now and I'm not sure where I would put it in the command button to make this happen. Any thoughts?
Thanks
Eddie