Carey,
Try something like this...
statesdropdown = dabo.ui.dDropdownList(self,DataSource = ClientBizobj,
DataField = "stateprov")
choices = []
keys = {}
for location in locations:
choices.append("%s" % (location['state']))
keys[location["iid"]] = len(choices) - 1
statesdropdown.Choices = choices
statesdropdown.Keys = keys
statesdropdown.ValueMode = "key"
HTH,
Larry
_______________________________________________
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/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaaafa2fnyupuomnfpiynbeqckaaaaqaaaayic1x4aqw0wswc0tqe9kcgeaa...@charter.net