Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Grey out time options if already selected from LOV select list

Rambo79Jun 25 2014 — edited Jun 26 2014

Hi

I am building an online booking system - think ticketmaster.

What I am trying to do is when a user selects a time from a select list, if the time slot for that date has already been booked then that time slot i.e. 2-3pm will be greyed out in the list

This is the LOV that populated the select list

select to_char(trunc(sysdate)+((i-1)/48),v('APP_TIME_FORMAT')) d,

       to_char(trunc(sysdate)+((i-1)/48),v('APP_TIME_FORMAT')) r

  from wwv_flow_dual100

where i < 49

order by i

and this is the computation before header

select to_char(trunc(to_date(to_char(current_timestamp,'&APP_TIME_FORMAT.'),'&APP_TIME_FORMAT.'),'HH')+1/24,'&APP_TIME_FORMAT.') from dual

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2014
Added on Jun 25 2014
1 comment
267 views