‘Yes’ and ‘No’ in Valuelists

Archived from the Xataface Users forum.

AndyM — Wed Nov 04, 2009 7:33 pm

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:


shannah — Wed Nov 04, 2009 7:55 pm

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.


AndyM — Mon Nov 09, 2009 9:50 am

Thanks Steve, I’ll try that

All the best

Andy