johnturgoose
Technical User
With great thanks to skip for previous assistance I present a new and to me impossible challenge.
I have 2 tables. DATA and RECRUITMENT TOTALS.
DATA holds many columns of patient data. It has one table row 1 and 2 are headings. The 2 key columns are (Centre Code) and (Date of Randomisation).
RECRUITMENT TOTALS is a summary of the patients and reports on a Centre Code(a three digit number) basis.
What I am trying to do is have a column in RECRUITMENT TOTALS which shows the number of days elapsed since the most recent patient randomisation date.
so i need a function to look at RECRUITMENT TOTALS(a list that is growing (approx 3500 rows)) find the most recent patient randomisation date specific to that Centre code and then calculate the difference between that and today.
Any ideas gratefully accepted,
John Turgoose
I have 2 tables. DATA and RECRUITMENT TOTALS.
DATA holds many columns of patient data. It has one table row 1 and 2 are headings. The 2 key columns are (Centre Code) and (Date of Randomisation).
RECRUITMENT TOTALS is a summary of the patients and reports on a Centre Code(a three digit number) basis.
What I am trying to do is have a column in RECRUITMENT TOTALS which shows the number of days elapsed since the most recent patient randomisation date.
so i need a function to look at RECRUITMENT TOTALS(a list that is growing (approx 3500 rows)) find the most recent patient randomisation date specific to that Centre code and then calculate the difference between that and today.
Any ideas gratefully accepted,
John Turgoose