M
Mercy
Hey all,
I am trying to create a record validation rule that will
make sure that the Quantity in Table A will equal the Sum
of the related quantities in Table B.
Let's say Table A contains: Students, and how many fruits
they have.
Table B contains: Students, type of fruit they have, and
how many of each fruit they have.
I want to make sure that the qty in A matches the sum of
the matching qtys in B.
I created a query to sum up B grouped by student names.
But I don't know how to write the syntax for the
validation rule. I'm not even sure if I can refer to a
query like that?
Any help would be greatly appreciated it!
Thanks,
Mercy
I am trying to create a record validation rule that will
make sure that the Quantity in Table A will equal the Sum
of the related quantities in Table B.
Let's say Table A contains: Students, and how many fruits
they have.
Table B contains: Students, type of fruit they have, and
how many of each fruit they have.
I want to make sure that the qty in A matches the sum of
the matching qtys in B.
I created a query to sum up B grouped by student names.
But I don't know how to write the syntax for the
validation rule. I'm not even sure if I can refer to a
query like that?
Any help would be greatly appreciated it!
Thanks,
Mercy