I am getting this error when I try and view the page in my browser.
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/crystal/TMPu34xisvlw2.asp, line 6, column 44
When I insert the SQl statement into the advanced recordset window and select test I get the desired results.
Here is the SQL that I am inserting.
SELECT
PV_STUD_THST."STUD_ID", PV_STUD_THST."CPNT_ID", PV_STUD_THST."COMPL_DTE", PV_STUD_THST."PCT_GRADE",
PA_STUDENT."LNAME", PA_STUDENT."FNAME"
FROM
"PLATEAU"."PV_STUD_THST" PV_STUD_THST,
"PLATEAU"."PA_STUDENT" PA_STUDENT
WHERE
PV_STUD_THST."STUD_ID" = PA_STUDENT."STUD_ID" AND
PV_STUD_THST."CPNT_ID" = 'FAQN-0001'
ORDER BY
PV_STUD_THST."PCT_GRADE" DESC,
PA_STUDENT."LNAME" ASC
FYI I am copying the script from a report I designed in Crystal.
Thanks for the help
Brian Russell
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/crystal/TMPu34xisvlw2.asp, line 6, column 44
When I insert the SQl statement into the advanced recordset window and select test I get the desired results.
Here is the SQL that I am inserting.
SELECT
PV_STUD_THST."STUD_ID", PV_STUD_THST."CPNT_ID", PV_STUD_THST."COMPL_DTE", PV_STUD_THST."PCT_GRADE",
PA_STUDENT."LNAME", PA_STUDENT."FNAME"
FROM
"PLATEAU"."PV_STUD_THST" PV_STUD_THST,
"PLATEAU"."PA_STUDENT" PA_STUDENT
WHERE
PV_STUD_THST."STUD_ID" = PA_STUDENT."STUD_ID" AND
PV_STUD_THST."CPNT_ID" = 'FAQN-0001'
ORDER BY
PV_STUD_THST."PCT_GRADE" DESC,
PA_STUDENT."LNAME" ASC
FYI I am copying the script from a report I designed in Crystal.
Thanks for the help
Brian Russell