home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / oracle / 1157 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.2 KB  |  54 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!news.ysu.edu!malgudi.oar.net!chemabs!lwv26
  3. From: lwv26@cas.org (Larry W. Virden)
  4. Subject: Re: FAQ?  Defining a query page against multiple field/multiple table
  5. Message-ID: <1992Jul29.173516.15089@cas.org>
  6. Followup-To: comp.databases.oracle
  7. Sender: usenet@cas.org
  8. Reply-To: lvirden@cas.org (Larry W. Virden)
  9. Organization: Nedriv Software and Shoe Shiners, Uninc.
  10. References: <1992Jul28.132643.24259@cas.org>
  11. Date: Wed, 29 Jul 1992 17:22:19 GMT
  12. Lines: 40
  13.  
  14. In article <1992Jul28.132643.24259@cas.org> lvirden@cas.org (Larry W. Virden) writes:
  15. :
  16. :1. I have never seen a comprehensive FAQ posted to this group - is one
  17. :available?
  18.  
  19. Well, I got one answer - that so far one has not evolved.  Too bad...
  20.  
  21. :
  22. :Goal, not only to permit entry of the above information, but to allow
  23. :the user to query against any combination of Name, Employee number, 
  24. :Activity description and total hours. 
  25. :
  26. :Where does one start to permit the above query?  The problem is that I do NOT
  27.  
  28. Well, the overwhelming recommendation (thanks to the 2 people who responded)
  29. was that I should define a view consisting of the 3 different tables and
  30. then switch the user to a form based on that view when the user pressed
  31. the Enter Query key.
  32.  
  33. Now, for the next problem.  One of the two people who responded indicated that
  34. if I based the block on a view, I would have to write all of the query code
  35. myself - but then indicated that I would need to write insert, delete and
  36. update triggers.
  37.  
  38. What I thought about doing was something like this:
  39.  
  40. When the Key-Enter Query trigger occurs, move the user to a new block
  41. which contains the new fields which they can query on.  Then, in the post
  42. query trigger, I need to somehow move the resulting query info back into
  43. the original form.  Since one of the fields on the query block will be
  44. the primary key of all the tables on the input screen, is there some way
  45. I can copy the 'set' of queried values back to the other page so that it
  46. appears to the user as if all of the records are available to them?
  47.  
  48.  
  49. -- 
  50. Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
  51. Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
  52. Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
  53. America Online: lvirden@aol.com
  54.