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

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!rpi!news.ans.net!malgudi.oar.net!chemabs!lwv26
  3. From: lwv26@cas.org (Larry W. Virden)
  4. Subject: FAQ?  Defining a query page against multiple field/multiple table
  5. Message-ID: <1992Jul28.132643.24259@cas.org>
  6. Sender: usenet@cas.org
  7. Reply-To: lvirden@cas.org (Larry W. Virden)
  8. Organization: Nedriv Software and Shoe Shiners, Uninc.
  9. Date: Tue, 28 Jul 1992 13:19:34 GMT
  10. Lines: 42
  11.  
  12.  
  13. 1. I have never seen a comprehensive FAQ posted to this group - is one
  14. available?
  15.  
  16. 2. Assume a situation like this (not my specific, but this hopefully
  17. will serve to illustrate):
  18.  
  19. Application - Sql Forms 3.0 based time card entry.
  20.  
  21. Page consists of 3 blocks, each against a different table.
  22.  
  23. Block 1:    
  24.     Name    Employee number
  25.     Department    (Current Date - a non-table field)
  26.  
  27. Block 2:
  28.     Multiple occurances of:
  29.  
  30.     Activity description    Number of hours this week.
  31.  
  32. Block 3:
  33.     A column of total hours to date for each of the above activities.
  34.  
  35. Goal, not only to permit entry of the above information, but to allow
  36. the user to query against any combination of Name, Employee number, 
  37. Activity description and total hours. 
  38.  
  39. Where does one start to permit the above query?  The problem is that I do NOT
  40. want to say things like "search for either what the user keyed or %" for
  41. each of the fields.  The reason is that it just takes too long for the
  42. query to work.
  43.  
  44. I would also rather not, if I can find a way around it, write 
  45. a series of 24 if statements based on each possible combination of fields
  46. being filled in.
  47.  
  48. Any good ideas?
  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.