Hi,
Using MS Access, '97, we have 4 tables in scope, the content of which is provided by a customer. I need to validate the data in all four tables and one validation routine is focused on a field named ORNO which exists in each of the tables.
The following examples show the content of the ORNO field
Table1.ORNO value '0012769'
Table 1 will only ever have one single record and the ORNO value must be numeric.
Table2.ORNO value '0012770','0012771','0012772'
Table 2 values must increment the value from table 1 by 1
Table3.ORNO value '0012770', '0012770','0012771','0012772'
Table 3 values must exist with Table 2 and there can be multiple instances of Table 2 ORNO values within Table 3.
Table4.ORNO value '0012772'
Table 4 will only have one record and it should be the highest ORNO value that exists in Table 2 and Table 3.
Appreciate any help with this,
Tks.
fields holds an order numberof which within each table a numeric field named ORNO exists.