home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / oracle / 2653 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cc920
  2. From: cc920@cleveland.Freenet.Edu (Michael A. Rife)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Query only forms
  5. Date: 30 Dec 1992 04:29:05 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 37
  8. Message-ID: <1hr8ihINNn8u@usenet.INS.CWRU.Edu>
  9. References: <1992Dec30.035028.18386@ra.msstate.edu>
  10. Reply-To: cc920@cleveland.Freenet.Edu (Michael A. Rife)
  11. NNTP-Posting-Host: hela.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, vkg1@Ra.MsState.Edu (VINAY GIDWANI) says:
  15.  
  16. >I have a form which I am invoking from a menu application.
  17. >I want the form to be a only query form when I invoke it
  18. >from a certain option in a menu. If I invoke it from another
  19. >part it should be a form where I can commit changes etc.
  20. >
  21. >I tried the packaged procedure CALL_QUERY but could not 
  22. >get it to work.
  23. >
  24. >Any suggestions or hints would be welcome.
  25. >
  26. >My email address is vkg1@ra.msstate.edu
  27. >
  28. >Thanks
  29. >
  30. >
  31. >Vinay
  32. >--
  33. >
  34. >Vinay Gidwani
  35. >email vkg1@ra.msstate.edu
  36. >
  37.  
  38. Situation:
  39.  
  40. You have menu MENU01 which has option #1 calling FORM01 in "data entry mode". 
  41. You want option #2 menu MENU01 to call FORM01 in query-only mode (
  42. ie. CALL_QUERY).
  43.  
  44. Solution:
  45.  
  46. Have option #2 run a FORM02, which in-turn does a CALL_QUERY
  47. to FORM01 and then does an EXIT_FORM.  This can be accomplished in a 
  48. KEY-STARTUP trigger or possibly a PRE-FORM.  Try it an see.
  49.  
  50.