SLP How to display '-' in the subject dropped by the student in SLP report

本文由 Canyon 在 2012-03-13 發表於 "WebSAMS 討論區" 討論區

  1. 10109629

    Canyon
    Expand Collapse

    文章:
    81
    讚:
    0
    Dear all,

    How to display '-' in the subject dropped by the student in SLP report.

    Example, a student took physics in S4 and dropped it in S5 and S6. I want the SLP report B to display '-' instead of WHITE SPACE in build-in template.
    S4 S5 S6
    Physics 70 - -

    Thanks,

    Canyon
     
  2. 56440610

    edb-brian
    Expand Collapse

    文章:
    382
    讚:
    0
    you may try to modify the formula '@y?com' in academic subreport.

    '@yr1com' as example

    select {?markAndOrGrade}

    case 'mark':

    if(isnull({@yr1score}) = true and isnull({@yr1gd}) = true)
    then '---'
    else

    if(isnull({@yr1score}) = true)
    then {@yr1gd}
    else
    {@yr1score}

    case 'grade':

    if(isnull({@yr1score}) = true and isnull({@yr1gd}) = true)
    then '---'
    else


    if (isnull({@yr1gd}) = true)
    then {@yr1score}
    else
    {@yr1gd}


    case 'both':

    if(isnull({@yr1score}) = true and isnull({@yr1gd}) = true)
    then '---'
    else


    if (isnull({@yr1score}) = true)
    then {@yr1gd}
    else if (isnull({@yr1gd}) = true)
    then {@yr1score}
    else
    {@yr1score} + chr(13) + {@yr1gd}

    default:

    if(isnull({@yr1score}) = true and isnull({@yr1gd}) = true)
    then '---'
    else


    if (isnull({@yr1score}) = true)
    then {@yr1gd}
    else if (isnull({@yr1gd}) = true)
    then {@yr1score}
    else
    {@yr1score} + chr(13) + {@yr1gd}
     
    #2 edb-brian, 2012-03-14
  3. 10109629

    Canyon
    Expand Collapse

    文章:
    81
    讚:
    0
    Thank you for your prompt reply. Is it possible to ask something further? That's to distinguish "ABSENT" and "DROPPED"?

    That's displaying "ABS" if the student is absent in that exam
    while displaying "---" if the student has dropped that subject.
    Great urgent! It is because of the special requirement of our school.
     
  4. 56440610

    edb-brian
    Expand Collapse

    文章:
    382
    讚:
    0
    Sorry that there is no drop or exempt or absent indicator in this report.
     
    #4 edb-brian, 2012-03-14