Page 1 of 1

'Yes' and 'No' in Valuelists

PostPosted: Wed Nov 04, 2009 7:33 pm
by AndyM
Hi,

If I have a valuelist like this:
Yes=Yes
No=No
Mostly=Mostly
Sometimes=Sometimes

Then it doesn't work, the selection box just says "Please select'

If I change the valuelist to be:
Y=Yes
N=No
Mostly=Mostly
Sometimes=Sometimes

I get the following in the dropdown:
1

Mostly
Sometimes

Anyone come across this? I can get the values if I configure the DB to enumerate them but I really want to do it via valuelists.

Cheers for any help

Andy

Anyone come across this problem:

PostPosted: Wed Nov 04, 2009 7:55 pm
by shannah
This is a limitation of ini files as Yes and No are reserved words I seem to recall. You can get around this by implementing the valuelist programmatically in your delegate class.

PostPosted: Mon Nov 09, 2009 9:50 am
by AndyM
Thanks Steve, I'll try that

All the best

Andy