Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Show text instead of number

Post Reply
Pfigueredo
Posts: 2
Joined: Sat Feb 27, 2016 11:04 am

Show text instead of number

Unread post by Pfigueredo »

Hi, forgive my english is'n good. I have a Grid subform and a column has only 4 posible values disabled to edition. I want to show it in Display mode like text and i dont want to create a table only for this, in Display Tab i wrote "SELECT des,cod FROM ( SELECT '1' AS cod, 'ALTA' AS des UNION SELECT '2' AS cod, 'BAJA' AS des UNION SELECT '4' AS cod, 'MODIFICADO' AS des UNION SELECT '3' AS cod, 'DISPONIBLE' AS des) AS T1" and i dont know what put in WHERE clause because the field is neither index nor primary key. Thanks.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Show text instead of number

Unread post by admin »

Pfigueredo,

I don't really understand your question.

Steven
Post Reply