Adding description on lookup table (3 Merged) [message #563888] |
Fri, 17 August 2012 12:49 |
|
sanjsingh
Messages: 1 Registered: August 2012
|
Junior Member |
|
|
Ive got a look up table and i want it to display text on the table when viewing it instead of just the ID number, how would i do that? so for example if
1 = Hello
2 = Bye
it would display "Hello" instead of "1"
|
|
|
|
|
Re: Adding description on lookup table (3 Merged) [message #563908 is a reply to message #563900] |
Fri, 17 August 2012 15:08 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
As you said that it is the Apex question: where do you want to do that? Is it, perhaps, a list of values? If so, note that its query requires exactly 2 columns: a DISPLAY and a RETURN value. So, it might look likeselect title v_disp, id v_ret from your_table
Otherwise & generally speaking, follow Michel's advice.
|
|
|