'Yes' and 'No' in Valuelists

A place for users and developers of the Xataface to discuss and receive support.

'Yes' and 'No' in Valuelists

Postby 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:
AndyM
 
Posts: 2
Joined: Wed Nov 04, 2009 7:29 pm

Postby 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.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby AndyM » Mon Nov 09, 2009 9:50 am

Thanks Steve, I'll try that

All the best

Andy
AndyM
 
Posts: 2
Joined: Wed Nov 04, 2009 7:29 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 23 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved