I may add that it is always recommended to assign resultset as soon as they
come out from the previous instruction
so
<@ASSIGN Local$MyArray <@VAR Local$ResultSet>>
and you can use <@VAR Local$MyArray[<@CURROW>,MyColumnName]> in your <@ROWS>
loop safely

It is also recommended to ALWAYS use scope when refering a variable
either with the SCOPE="" attribute
either with the famous shortcut ScopeName$VariableName instead of just the
VariableName

hope this help

Gauthier

----- Original Message -----
From: "James Macfarlane" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Friday, July 26, 2002 3:57 PM
Subject: RE: Witango-Talk: <@Rows> <@For> I'm lost


> Hi Dan, I don't think you can use column references when you assign your
> resultset to a variable. Your filter command is implicitly assigning
> youre resultset to a variable. You may want to try assigning it to a
> variable and using @@myVar[<@CURROW,Fname] instead of <@COLUMN
> "Registration.FName">.
>
> Column references apply to your resultset and not to derived subsets.
> I'm not 100% suer on this, but that what stands out.
>
>
>  <@ROWS <@FILTER ARRAY='@@resultset' EXPR='#1=local$course[*,8]'>>
>   <tr>
>     <td><font size="2" face="Arial, Helvetica, sans-serif"><@COLUMN
> "Registration.FName">&nbsp;<@COLUMN "Registration.LName"></font></td>
>     <td><font size="2" face="Arial, Helvetica, sans-serif"><@COLUMN
> "Registration.PhoneArea">-<@COLUMN "Registration.PhonePrefix">-<@COLUMN
> "Registration.PhoneSuffix"></font></td>
>   </tr>
> </@ROWS>
>
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to