home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / oracle / 1524 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.5 KB

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