Carey Gagnon wrote:
> My Question now (looking at the cdxml snippet), is there anyway to display
> the full name of the state in the drop down list, but save the abbreviation
> to the database on self.Form.save()

Yes.

drop.ValueMode = "Key"
drop.Choices = ["Arizona", "California", "New York"]
drop.Keys = ["AZ", "CA", "NY"]

And to follow your fix for 'string must be present in the choices':

drop.Choices.append("-SELECT-")
drop.Keys.append(None)

Paul


_______________________________________________
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