Hello: This is the SQL statement I am using in one of my LOV. select e.emp_no,e.name_e, d.dept_code,d.name_e from employees e, departments d where e.dept_code = d.dept_code and e.dept_code in (3310, 3320,3330,3340,3350) order by d.name_e
I would like to programmatically change the “in clause of my select statement” so that it restricts the list while the user views the LOV. In other words I would like to change the e.dept_code according to my requirements because in different situations I need to give different departments. Regards, Faiz _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: FAIZ QURESHI INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).