Hi.
I'm developing an ordering interface in Access 2003 using forms with rows (approx 50) describing per article including two text boxes - one for number of ordered articles and one for number of orders delivered. This interface works as intended.
The problem is that sometimes, people forget to set either "ordered" or "delivered" to a number, or at least to zero ("0"). If they don't set it to a number, the data table will contain null and this leads to a number of problems in my reporting tools.
What I'd like is a way of checking/validating:If either "ordered" or "delivered" is filled out with a number, the other (either "ordered" or "delivered") can't be null, and the person should be unable to save the complete order. This functionality needs to be done on a per order line basis, because not all orders include all types of articles. That is, if both "ordered" and "delivered" is null, this is ok, and will not be saved as an order record in the database.
What is a good and efficient way of achieving this?
Thanks a lot!
I'm developing an ordering interface in Access 2003 using forms with rows (approx 50) describing per article including two text boxes - one for number of ordered articles and one for number of orders delivered. This interface works as intended.
The problem is that sometimes, people forget to set either "ordered" or "delivered" to a number, or at least to zero ("0"). If they don't set it to a number, the data table will contain null and this leads to a number of problems in my reporting tools.
What I'd like is a way of checking/validating:If either "ordered" or "delivered" is filled out with a number, the other (either "ordered" or "delivered") can't be null, and the person should be unable to save the complete order. This functionality needs to be done on a per order line basis, because not all orders include all types of articles. That is, if both "ordered" and "delivered" is null, this is ok, and will not be saved as an order record in the database.
What is a good and efficient way of achieving this?
Thanks a lot!