hi guys,
i have some problems with the validation of some access data.
granted that i have the following tables:
table emp
columns: int ID primary key, string NAME, int DEPTNO, int A
table dept
columns: int DEPTNO primary key, string DNAME, int B references EMP(DEPTNO)
when i insert some data into dept, it should be checked whether B < A (in the corresponding row of emp). if not, the data mustnt be inserted.
this is the second day i am using access, hence dont blame me for this easy question ;-)
thanks, johnny
i have some problems with the validation of some access data.
granted that i have the following tables:
table emp
columns: int ID primary key, string NAME, int DEPTNO, int A
table dept
columns: int DEPTNO primary key, string DNAME, int B references EMP(DEPTNO)
when i insert some data into dept, it should be checked whether B < A (in the corresponding row of emp). if not, the data mustnt be inserted.
this is the second day i am using access, hence dont blame me for this easy question ;-)
thanks, johnny