I am trying to have a failure report that accesses information from MySql. So far my link to MySql is fine and I used a Sql command in the database expert to get only the fields I needed.
I can do calculations within a row but I don't know how to call another row and specify which rows I want. What I'd like to do is be able to basically query the data I have in CR or just do a SQL query on my datasource. Is anything like that possible?
StudentID StartedStudying StoppedStudying StudyTime(hr)
73 2011-03-11,06:31:05 2011-03-11,09:31:05 3
75 a timestamp a timestamp
76 a timestamp a timestamp
73 2011-03-12,06:31:05 2011-03-12,09:31:05 6
On this simple table above, what I would want to do is populate the StudyTime field which is like total study time up to that point. On StudentID 73, getting that first field to populate is simple, I just don't know how to write the code where the second instance of studentid 73 would work and include the first row for StudendID 73. I hope I have been atleast somewhat clear.
I can do calculations within a row but I don't know how to call another row and specify which rows I want. What I'd like to do is be able to basically query the data I have in CR or just do a SQL query on my datasource. Is anything like that possible?
StudentID StartedStudying StoppedStudying StudyTime(hr)
73 2011-03-11,06:31:05 2011-03-11,09:31:05 3
75 a timestamp a timestamp
76 a timestamp a timestamp
73 2011-03-12,06:31:05 2011-03-12,09:31:05 6
On this simple table above, what I would want to do is populate the StudyTime field which is like total study time up to that point. On StudentID 73, getting that first field to populate is simple, I just don't know how to write the code where the second instance of studentid 73 would work and include the first row for StudendID 73. I hope I have been atleast somewhat clear.