how to improve the below expression? Initially it works like a charm but when data gets bigger it slows down significantly.
Requirement: The list of students whose marks are not entered in the assessment table. as the data is entered, the list gets smaller for specific subject
Thank you dear @Steve for your response but it is not working as it should. Yes Reg# is Ref to Students in Assessment table. I want to filter out the students from Students table whose marks are not entered in the Assessment table. If a student’s marks are entered once for specific subject, then it should not appear in the list again.
So where are you experiencing this slowdown? Like in the UI when the form view opens, or after selecting the grade in a form view? How do you know it is this expression that is causing your slowdown? Two rather basic selects happening a single time really shouldn’t cause much of a slowdown unless we’re talking about like hundreds of thousands of records.
That other expression you just listed wouldn’t even work.