G
Gina
Hi!
I have a form called frmMatlDetail, with a subform on it
called frmMatlActivity (the subform is based on a query
called qryMatlActivityForm). On the subform I have a
field called Activity (which can have a value of P, A, U,
R, or ADJ) and a field called Qty.
If a user enters P in the Activity field, I want to be
sure that the Qty field remains Null.
If a user enters A or U in the Activity field, the Qty
field must be a negative number.
Is there a way to do this with a macro or code?
Thanks so much.
I have a form called frmMatlDetail, with a subform on it
called frmMatlActivity (the subform is based on a query
called qryMatlActivityForm). On the subform I have a
field called Activity (which can have a value of P, A, U,
R, or ADJ) and a field called Qty.
If a user enters P in the Activity field, I want to be
sure that the Qty field remains Null.
If a user enters A or U in the Activity field, the Qty
field must be a negative number.
Is there a way to do this with a macro or code?
Thanks so much.