home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!oracle!unrepliable!bounce
- Newsgroups: comp.databases.oracle
- From: smuench@oracle.com (Steven P. Muench)
- Subject: Re: Forms3 LOV
- In-Reply-To: twod@socrates.demon.co.uk's message of Thu, 3 Sep 1992 17:27:16 +0000
- Message-ID: <SMUENCH.92Sep6134755@hqsun4.oracle.com>
- Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
- Nntp-Posting-Host: hqsun4.us.oracle.com
- Organization: Oracle Corp., Belmont CA
- References: <715541236snx@socrates.demon.co.uk>
- Date: Sun, 6 Sep 1992 21:47:55 GMT
- X-Disclaimer: This message was written by an unauthenticated user
- at Oracle Corporation. The opinions expressed are those
- of the user and not necessarily those of Oracle.
- Lines: 20
-
- IAN -- While Forms4 will make this much easier by allowing the
- designer to specify a static group of records at design time on
- which an LOV will be based at runtime, the simplest way to
- accomplish this in 3.0 involves only the LOV-Select-Statement.
-
- If you'd like the values 'YES','NO', and 'MAYBE' to be shown in
- the LOV for field CONTROL.RESPONSE, for example, then the
- LOV-SQL-Statement for CONTROL.RESPONSE could read:
-
- SELECT 'YES' INTO :CONTROL.RESPONSE FROM DUAL
- UNION
- SELECT 'NO' FROM DUAL
- UNION
- SELECT 'MAYBE' FROM DUAL
-
- Hope this helps. :-)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- Steve Muench Email: smuench@oracle.com
- SQL*Forms Development
- Product Manager
-