|
|
|
|
|
|
|
|
Re: LOV for time [message #534473 is a reply to message #534472] |
Tue, 06 December 2011 08:30 |
|
abarnybox
Messages: 49 Registered: November 2011
|
Member |
|
|
haha sorry,
Turns out we're just going to merge the 'time' and 'date' columns now anyway so a datepicker works fine for now, incase you still want to know though my story is thus:
I copied from select to the fullstop, went into shared components, LOV, Create then I selected Dynamic from the wizard and pasted that in the box there.
Yes there was an error: LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
so I tried again removing the 2 and 3: no change, tried again removing the whole to_char function: no change, tried again removing various different bits and no change for any of them.
but as I say it doesn't matter anymore, thanks anyway
abarnybox
|
|
|
Re: LOV for time [message #534494 is a reply to message #534473] |
Tue, 06 December 2011 10:39 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I see ... so it is you who doesn't read the manual and wonders how come your query becomes invalid.
LoV SELECT statement requires two values: "display" and "return" one. There's an example at the bottom of the LoV wizard (gray letters, if I remember well), so take a look - it describes how a static LoV looks like, and how a dynamic one looks like. You'll probably get the idea when you see it. Shortly, a query should look like
select employee_name display_value, employee_id return_value
from some_table
where ...
|
|
|