looks like a case of CustomerId vs customerid

check your case.

HTH,
Jeff Painter

On Tue, 11 Feb 2003, Stuart Townhill wrote:

> To anyone who can help,
>  
> Don't think this is a Velocity question but my question came about when
> using the VTL code I created below:
>  
> #macro (formSelect $name $entries)
>     <td>
>             <select name="$name">
>                 #foreach ($entry in $entries)
>                     <option>$entry.Customerid</option>
>                     <option>$entry.Name</option>
>                 #end
>             </select>
>     </td> 
> #end
>  
> What happens is that the SELECT is populated as follows:
>  
> $entry.Customerid
> Stuart Townhill
> $entry.Customerid
> Bob
> $entry.Customerid
> Fred
>  
> My question is that why can I access the names but not the Customerid,
> could it be because Customerid is the Primary Key of my Customer table
> and the Customerid is created by Turbine idbroker service?
>  
> Any help much appreciated.
>  
> Regards,
>  
> Stuart Townhill.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to