Has anyone experienced problems with the <@FILTER> meta tag? We are trying to filter an
array to return only courses for a specific department for grouping purposes. The 
following
is the statement that is returning the error:

<@FILTER ARRAY="@@user$vCourses" SCOPE="USER" EXPR="#3=<@COL 1>">


Here is an example of how we are using it:

<SELECT NAME="Course" SIZE="1">
        <@ASSIGN ARRAY="vCourses2" VALUE="@@domain$vCourses" SCOPE="USER">
        <@ASSIGN ARRAY="vCourses" VALUE="@@domain$vCourses" SCOPE="USER">
                <@ROWS ARRAY="@@domain$vDepartments">
                        <@FILTER ARRAY="@@user$vCourses" SCOPE="USER" EXPR="#3 =<@COL 
1>"> 
                        <OPTION VALUE="NOGOOD"><@COL 2></OPTION>
                                <@ROWS ARRAY="@@user$vCourses">
                                        <OPTION VALUE="<@COL 
1>">&nbsp;&nbsp;&nbsp;<@COL 2></OPTION>
                                </@ROWS>
                        <@ASSIGN ARRAY="vCourses" VALUE="@@user$vCourses2" 
SCOPE="USER">
                </@ROWS>
</SELECT>


And the error(s) that we are getting:

An error occurred while processing your request: 
File: away.taf
Position: Get_Student_Info
Class: Internal
Main Error Number: -18
Error during expression evaluation.
Illegal symbol in statement ["<@__REF name=vCourses [EMAIL PROTECTED]>[1,3] =CCM]

File: away.taf
Position: Get_Student_Info
Class: Internal
Main Error Number: -614
An array was expected as a parameter.
In @FILTER, ARRAY attribute.

It seems to be an issue with the # symbol in the EXPR statement, but the documentation 
describes this 
as the proper way to indicate the column. We also tried the example in the 
documentation and found the
same problems.

Thanks.

Buddy

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to