Timetable report

  • Looking for some advise on how to construct a timetable report for students.

    Normal stuff - 7 days a week down the left, lesson schedules from 8am to 9pm across the top. Lesson 3 on a Monday(930 - 1030)can be different time/length to Tuesday lesson 3 (945 -1030). A students could have 1 lesson or 20 lessons.

    Cheers! P

  • Lookup CROSS TAB in Books Online for starters...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • you mean a matrix? i have already put that together (couple of years RS exp.). The issue is to do with the length of the period

    This is what i want . ...........9.............10...........11..........12...........1...........2..........3............4...........5.........6

    Mon maths english

    Tue SSRS tutorial

    Wed French

    Thur science

    Fri tutorial

    - Student may only have lessons on Mon, Tue, Fri (got this to work by unioning data from a timetable setup table

    - Sessions might not be hour based eg Monday period 2 starts at 10 but oon a friday it starts at 1020

    Matrix seems to work but if a student has a 15 min tutorial, this fills a whole column the same as a hour eg

    ..........9.............10.........1045.........11..........1115......12...........1...........2........

    Mon maths english

    Tue SSRS tutorial

    Wed French

    Thur science

    Fri tutorial

  • spencepa (3/4/2008)


    Matrix seems to work but if a student has a 15 min tutorial, this fills a whole column the same as a hour

    What do you want it to do?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Does your format demand the time periods across the top and days down the side? If it doesn't, I'd try it the other way around. It seems to me it'd be easier to have the static seven days fixed as headers and the dynamic times on the side.

    Also, I'm not sure how I'd do it, but I'm thinking some kind of bar or line chart might be appropriate here.

    Sorry this is more hypothesis than concrete answers.

    Hope it helps some though.

    Good luck

    [font="Comic Sans MS"]toolman[/font]
    [font="Arial Narrow"]Numbers 6:24-26[/font]

  • existing thick client app:

    The issue is the classes that cross or start in the middle of time periods - eg a lessons goes from 930-1045 and the next one 1050-1230. The example crosses the boundaries of 1100 but also starts in the middle of 9-10... The next day classes might start at 9am....

    The way they are doing it the aspx app is draw a grid and overlay boxes with co-ordinates (eg 80 left, 100 wide) on top....

    The chart is worth investigating...

  • A few suggestions:

    - First, consider in investing in a license for Dundas Controls. These folks sold the stripped down version used in reporting services to Microsoft, so they know the technology. Their current control set is very feature rich, with nice rendering capabilities.

    - You'll want to do a "bar chart", where you're converting the times down to a fine enough level of detail. With the Dundas controls you'll have more options of text over, auto movements, etc. but I believe you can achieve the desired effect in the stock control.

    - With "short time periods", you'll probably want to put the longer labels into a text popup. In general (for ease of design), I'd stick with session Ids (i.e. MAT101) for the fixed labels, and if available put the longer definition in the text popup (i.e. Mathematics 101, Room 12) or a legend.

    - You didn't say what your export or print expectations. For export, I'd restrict it to PDF (why worry about the Excel in this case). Printing almost demands the legend.

    Good luck.

  • thanks for the pointers.

    Dundas is a no go ATM - we are redeveloping a product and it needs to use vanilla RS, then we will offer consultancy, fleshing them out. We have a legacy product which has over 500 report type pages!!!

    Anyway, got it pretty much done now, though it is abit basic. I used a table function to return days, hours, 0 and 30 minute rows to structure the matrix

    eg

    day, hour, minute, datetime

    2,8,30, 1900/01/01 08:30.000

    2,9,00, 1900/01/01 09:00.000

    2,9,30, 1900/01/01 09:30.000

    ....

    I then left outer joined to the above on the day and between the lesson start and end (with a little hacking for lessons that start at 1045), creating a txt string of start/end/room/tutor etc

    Finally i can run an update where there are duplicate day/hour/minute rows and concatenate the txt together (eg 9-1015 Engl01 R101, 1015-1100 MATH03 R209). Rough looking with not the best dataset:

  • Note that it matters, but I like that vertical format better. More closely resembles even preformatted hard-copy schedules.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Hi There Spencepa - -I assume the report you are trying to create is based on REMS student records system - We are in the process of trying to create a similar thing - i know its a bit cheeky but any chance of sharing your RDL file with us as that is exactly what we after !

    Regards

    Duffster

    duffster28@hotmail.com

  • Hi All,

    I am trying to reproduce exectly the same REMS pdf report and i have come to this point

    ,please any suggestions are welcomed

    Thanks,

    subash

Viewing 11 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic. Login to reply