Jeff Painter, Thanks for that. Thought I had tried that, must be going mad!
Cheers, Stuart Townhill. -----Original Message----- From: Jeffery Painter [mailto:[EMAIL PROTECTED]] Sent: 11 February 2003 18:49 To: Turbine Users List Subject: Re: Displaying Primary Key idbroker? 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
