I am using Microsoft SQL Server Report Builder 2008 and I am dealing with a report that shows the user various bit of information about a student enrolled in a class.
A user requested a new feature to show the date that the pre-requisite class was completed. I have pulled the pre-requisite class code and pre-requisite class name from the other dataset, and have it existing in ReportItems!Textbox13.Value.
The tricky part is that all completed courses exist within the current scope of the dataset "ClassInfo", just on a different row in the SQL table. If I was able to have my own SQL query in the Textbox, I could easily query it...
Whenever I try to use lookup() to discover the date that the pre-requisite class was completed, I receive 'Nothing'. Any help would be appreciated!
This is my current lookup:
=lookup(CSTR(ReportItems!Textbox13.Value) & CSTR(Fields!StdId.Value), CSTR(Fields!COURSEID.Value) & CSTR(Fields!.StdId.Value), Fields!DateCompleted.Value, "ClassInfo")