home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!swrinde!emory!emory!not-for-mail
- From: jerry@jerry.mendota.ingr.com (Jerry Jugovich)
- Newsgroups: comp.databases.informix
- Subject: Re: defer interupt
- Date: 13 Nov 1992 10:13:06 -0500
- Organization: Mailing List Gateway
- Lines: 44
- Sender: walt@mathcs.emory.edu
- Distribution: world
- Message-ID: <1e0gm2INNppc@emory.mathcs.emory.edu>
- Reply-To: jerry@jerry.mendota.ingr.com (Jerry Jugovich)
- NNTP-Posting-Host: emory.mathcs.emory.edu
- X-Informix-List-ID: <list.1601>
-
- ##### Initial post ##############
- > # rep_var.name is a global variable #
- >
- > output to report my_report ( rep_var.name ) # step into report #
- >
- >report my_report ( in_group ) # report using global variables #
- > # that were selected by a cursor #
- >
- > # must define variable even if passed#
- > # a global variable ugh.... #
- >define in_group like foo_table.foo_column
-
- If it's a global variabe then you don't have to pass it and thus don't have
- to define it in the report since you don't use a sort on it in the report,
- or do you?
- (At least I don't with I-OL 4.1 I4gl 4.1.)
-
- With thanks for the reply
-
- -> What I found was if the global variable was just used for printing in the
- -> report this statement is true. BUT.... if the report used the passed global
- -> variable in a group by clause ( sort ) it had to be passed to the report.
- -> This meant it still had to have multiple reports if I wanted the same info
- -> but grouped by different attributes. As Result multiple reports.
- ->
- -> The reports were written under I-OL 4.0 I4gl 4.0 if this has changed please
- -> respond back.
- ->
- -> I still also would like to know why I can't put the output section in a
- -> IF THEN clause. If I could do that then those other duplicate reports
- -> could be nuked. So because of the report functionality of I4gl I must create
- -> and maintain at least two times the number of reports required.
- ->
- -> Idealy this could be acomplished with one report function instead of three.
- -> But who I am I to complain.......
- ->
- -> Is any of this changed under 4.1 or above ?????
-
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- Mail Path: jerry@jerry.mendota.ingr.com Jerry Jugovich
- Phone: 612 681-4450 TIM Application Engineer
- Intergraph Corporation
- Mendota Heights Minnesota
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-