Combobox with single char value and meaningful displayvalue


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
I've always used BOs or Enums for my lookup combodropdowns

Now I have a backend column that is Char(1) and constrained to C D A  ( Change, Delete, Add )

I want to display those three choices to the user and bind to C D or A based on pick

Looking for the cleanest way to populate a dropdown CBO and have the bound value be C D or A and the full word displayed.

I'm sure it's not hard but it's not coming to me with 55+ hours in already on the work week w00t

BONUS Round :

Need manually populated combo that acts like a three state checkbox

Display TRUE, FALSE, NO CHANGE and have the backend value set to true, false and null

( I have defined the bit column that accepts nulls with nullable generic in the BO Mapper - Correct?)

TIA
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search