G
Guest
Hello,
I will try to explain:
I have a examinations database, with the tables as such:
Members
memid - autonumber primary key
name
address
etc
Examinations
examid - autonumber primary key
grade - combo box
examcode - combo box
memid - number, linked to memid in Members Table 1 to Many
date
etc
Examination details
examcode - primary key, text eg M1, M2 linked to examcode in Examinations
Table 1 to many
Exam Name
Level
I want to find a way of when you are on a Members record, to run some code
to find if the member has passed a certain examination. Such as:
Dlookup([grade],examinations,"memid=" & me.memid & " And examcode = 'M2')
But all this does is find the first examination (if they failed the first
time it will find that result but they may have passed a second time, I want
to find if there is a record where The grade = Pass
Can anyone help?
James
I will try to explain:
I have a examinations database, with the tables as such:
Members
memid - autonumber primary key
name
address
etc
Examinations
examid - autonumber primary key
grade - combo box
examcode - combo box
memid - number, linked to memid in Members Table 1 to Many
date
etc
Examination details
examcode - primary key, text eg M1, M2 linked to examcode in Examinations
Table 1 to many
Exam Name
Level
I want to find a way of when you are on a Members record, to run some code
to find if the member has passed a certain examination. Such as:
Dlookup([grade],examinations,"memid=" & me.memid & " And examcode = 'M2')
But all this does is find the first examination (if they failed the first
time it will find that result but they may have passed a second time, I want
to find if there is a record where The grade = Pass
Can anyone help?
James