JamesStevens
Programmer
Hi there
I have a form which is based on a query that links several tables.
The form lists all the records of learners on courses - for example:-
Adams Richard / Health And Safety
Allen Steve / Introduction to Spreadsheets
Allen Neville / Web Publishing
Allen Neville / Introduction to Spreadsheets
In the form header I have a calculated text box to display the number of courses: =Count(*) e.g. 4 in the above example.
I want to display the number of learners in another calculated text box in the form header but am unsure how to do this. Can you use =Count(*) with distinct? The above example should return 3 but I don't know how to do it.
The Learners all have unique LearnerID so I guess I need to count this but exclude the duplicates (of Allen Neville being in twice).
Help!
I have a form which is based on a query that links several tables.
The form lists all the records of learners on courses - for example:-
Adams Richard / Health And Safety
Allen Steve / Introduction to Spreadsheets
Allen Neville / Web Publishing
Allen Neville / Introduction to Spreadsheets
In the form header I have a calculated text box to display the number of courses: =Count(*) e.g. 4 in the above example.
I want to display the number of learners in another calculated text box in the form header but am unsure how to do this. Can you use =Count(*) with distinct? The above example should return 3 but I don't know how to do it.
The Learners all have unique LearnerID so I guess I need to count this but exclude the duplicates (of Allen Neville being in twice).
Help!