G
Guest
Hi, I'm quite new to using the Access interface although I've worked on
bespoke databases before.
I have data on trainees (trainee table) with a child table holding their
career information - all the posts they undertake during their training, with
start and end dates, location etc (career table).
I'd like to select all trainees with a particular criteria and include some
info from the latest record (indicated by "career end date") in the career
table also - but only succeed in pulling out all the records - eg if a
trainee has 4 career entries, I get 4 lots of data.
It was easy in the bespoke database interface as there was a "child record"
function to specify which you wanted to include - but I'm struggling! Someone
here suggested a DISTINCT statement but that didn't work (although I may have
been using it wrongly I suppose).
Can anyone help please?
Thanks in advance.
bespoke databases before.
I have data on trainees (trainee table) with a child table holding their
career information - all the posts they undertake during their training, with
start and end dates, location etc (career table).
I'd like to select all trainees with a particular criteria and include some
info from the latest record (indicated by "career end date") in the career
table also - but only succeed in pulling out all the records - eg if a
trainee has 4 career entries, I get 4 lots of data.
It was easy in the bespoke database interface as there was a "child record"
function to specify which you wanted to include - but I'm struggling! Someone
here suggested a DISTINCT statement but that didn't work (although I may have
been using it wrongly I suppose).
Can anyone help please?
Thanks in advance.