Input data validation

A

Access User

Hi all, I have an table with the record of customer's purchasing items and I
would like to check whether these items are correctly input. To do so, I need
to use another table (called the label-table) for validation. this
label-table captures all the possible values of the purchasing item.

Anyone can suggest the fast way to do that?

thanks!
 
V

vanderghast

You create a relation between the table having all the possible values, and
the 'detail tables', over their common field, and you enforce the relation.
It is then not possible to add a record, or to modify one, in the table of
details so that its (item) value is not in the table with all possible
(item) values. You must first add the item in table with all possible values
before adding a record with that value in the table of details.


Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top