Valuelists require ID fields the same

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

Postby Aoirthoir » Thu Aug 17, 2006 6:09 am

If I have my calling field say mediumint and my table for the valuelist being tinyint, sometimes it will not display the value in either view or list mode. It will however display in edit and add mode. I simply thus make sure they are the same type.

Eg

fields.ini:
[Fieldname]
widget:type = select
vacabulary = vocab
(this field has say tinyint)

valuelists.ini:
[vocab]
[percent]
__sql__ = "SELECT ID, DISPLAYNAME FROM TABLE ORDER BY DISPLAYNAME"
(this field called ID is say mediumint)

Hope that makes sense. If anyone else has this let me know. I dont think its a big deal, cause the workaround is pretty simple.
Aoirthoir
 
Posts: 420
Joined: Wed Dec 31, 1969 5:00 pm

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 14 guests

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