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

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!swrinde!emory!emory!not-for-mail
  2. From: jerry@jerry.mendota.ingr.com (Jerry Jugovich)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: defer interupt
  5. Date: 13 Nov 1992 10:13:06 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 44
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1e0gm2INNppc@emory.mathcs.emory.edu>
  11. Reply-To: jerry@jerry.mendota.ingr.com (Jerry Jugovich)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1601>
  14.  
  15. ##### Initial post ############## 
  16. >                                        # rep_var.name is a global variable #
  17. >
  18. >           output to report my_report ( rep_var.name ) # step into report #
  19. >
  20. >report my_report ( in_group )          # report using global variables  #
  21. >                                       # that were selected by a cursor #
  22. >
  23. >                                        # must define variable even if passed# 
  24. >                                        # a global variable ugh....          #
  25. >define in_group like foo_table.foo_column
  26.  
  27. If it's a global variabe then you don't have to pass it and thus don't have
  28. to define it in the report since you don't use a sort on it in the report,
  29. or do you?
  30. (At least I don't with I-OL 4.1 I4gl 4.1.)
  31.  
  32.                                 With thanks for the reply
  33.  
  34. -> What I found was if the global variable was just used for printing in the
  35. -> report this statement is true. BUT.... if the report used the passed global 
  36. -> variable in a group by clause ( sort ) it had to be passed to the report. 
  37. -> This meant it still had to have multiple reports if I wanted the same info 
  38. -> but grouped by different attributes. As Result multiple reports. 
  39. ->
  40. -> The reports were written under I-OL 4.0 I4gl 4.0 if this has changed please 
  41. -> respond back. 
  42. ->
  43. -> I still also would like to know why I can't put the output section in a 
  44. -> IF THEN clause. If I could do that then those other duplicate reports 
  45. -> could be nuked. So because of the report functionality of I4gl I must create 
  46. -> and maintain at least two times the number of reports required. 
  47. ->
  48. -> Idealy this could be acomplished with one report function instead of three. 
  49. -> But who I am I to complain.......
  50. ->
  51. -> Is any of this changed under 4.1 or above ?????
  52.  
  53. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  54.  Mail Path: jerry@jerry.mendota.ingr.com        Jerry Jugovich
  55.  Phone:     612 681-4450                        TIM Application Engineer
  56.                                                 Intergraph Corporation
  57.                                                 Mendota Heights Minnesota
  58. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  59.