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

  1. Path: sparky!uunet!timer1!john
  2. From: john@timer1.UUCP (john)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Problem on field of DEFAULT WHERE/ORDER BY on Form 3.0
  5. Keywords: SqlForm3.0, Oracle
  6. Message-ID: <105@timer1.UUCP>
  7. Date: 27 Aug 92 19:24:14 GMT
  8. Organization: Rightime Econometrics, Inc., The Forst Pavilion, Wyncote, PA 19095-1596
  9. Lines: 29
  10.  
  11. Hi, world:
  12.  
  13. In our company, we implemented a "Task Manager" with SqlForm30 to 
  14. keep track of our projects. When user run the form, we want him/her
  15. see only the tasks he/she is allowed to see. So, we put some conditions
  16. in DEFAULT WHERE/ORDER BY field of form30. Here is the piece from INP 
  17. file:
  18.  
  19.       ORDERING = <<<
  20.       where requestor in  (select access_name from DS_manager.user_access30
  21.             where user_name = lower(USER))
  22.          or request_for in (select dept_code from
  23.             DS_manager.dept_access30 where user_name = lower(USER))
  24.          or assigned = lower(USER)
  25.       ORDER BY Date_completed desc,DATE_REQUIRED, PRIORITY, date_entered
  26.       >>>
  27.  
  28. When I added in 4th OR condition in it then generate and execute it, it
  29. had segment fault and core is dumped (on unix environment) but if I trimmed
  30. that part, it goes fine. We guessed that the buffer mighted be too small 
  31. to hold the whold conditions.
  32.  
  33. Does any one know any limit on the buffer size of DEFAULT WHERE/ORDER BY
  34. field of block definition screen on Form 3.0. Or, it might be the limit
  35. of the number of "OR" conditions 
  36.  
  37. Any info will be apprecaited.
  38.  
  39. John Chan (Rightime Econometrics, Inc)
  40.