home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / oracle / 2129 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.7 KB

  1. Path: sparky!uunet!portal!lll-winken!cert!netnews.upenn.edu!dsinc!cs.widener.edu!iggy.GW.Vitalink.COM!pacbell.com!decwrl!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!scott.skidmore.edu!psinntp!psinntp!ncrlnk!ncrsoph!sstasuke
  2. From: sstasuke@ncrsoph.Sophia.NCR.COM (Steve Stasukewicz)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Need help with Forms 2.3
  5. Message-ID: <4156@ncrsoph.Sophia.NCR.COM>
  6. Date: 5 Nov 92 14:56:15 GMT
  7. Reply-To: sstasuke@ncrsoph.Sophia.NCR.COM (Steve Stasukewicz)
  8. Organization: NCR European Development Center
  9. Lines: 32
  10.  
  11.  
  12. I'm using Forms 2.3 with Oracle V6 and have the following problem:
  13.  
  14. I'm trying to create a multi-row block that contains 3 columns of data.
  15. Each column on the form comes from a different table in the database.
  16. I have the block defined to have 10 rows.  If the query retrieves more than
  17. 10 rows I would like to be able to scroll downwards when I reach the last
  18. row on the screen.  My first problem is how to populate the block.
  19. Currently I have something like this that doesn't work at all.
  20.  
  21. select table1.field1, table2.field2, table3.field3
  22. into   block1.f1, block1.f2, block1.f3
  23. from   table1, table2, table3
  24. where  ( join condition to join 3 tables )
  25.  
  26. This will retrieve a single row and put it into the correct fields on the
  27. form, but it will not populate rows 2 thru 9 in the block.   ( I know there
  28. is more than 1 record that meets the criteria.)  What am I doing wrong?
  29. If it's not already obvious, I'm new to Forms.  Please HELP!
  30.  
  31. Thanks in advance.
  32.  
  33. Steve 
  34.  
  35.  
  36. ---------
  37. Steve.Stasukewicz@sophia.NCR.FR     
  38. NCR Europe Group ISS/ECS
  39. Espaces De Sophia
  40. 25 Route de Lucioles                   Tel. (33) 92.94.45.12
  41. 06560 Valbonne FRANCE                  Fax. (33) 92.94.45.45
  42. -- 
  43.