Author: Paul McNett
Posted: 2009-07-15 at 20:42:52
Carey Gagnon wrote:
> I have tried one other way, and that was setting up a database table
> for the states. I can get that to work no problem. My thought was..why the
> unnecessary over head. To me that would mean the call to the database. This
> isn't a field that is likely to change. Doesn't it run faster from teh code
> without a database call?
>
> Also I wan't to use this method when I do my own program for a couple of
> fields that will only have 2 to 4 options.
Okay then you need to either:
1) Put a None ("<None>") row in the list
2) Assign a default value to the bizobj so that there isn't a chance
that the field will get a value of anything other than what you present
in the choice list.
Paul