On Dec 27, 2010, at 5:43 PM, Carey Gagnon wrote:

> One other issue I didn't think about. When I create my dropdownlist my sql
> query has order by name to make the list alphabetical. If I order by id I
> could easily set the PositionValue.
> 
> How can I retrieve the correct position of the value I want from the
> keys/choices values?


        Choices is a list, so you could simply do: self.Choices.index("string 
value")



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to