home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.informix
- Path: sparky!uunet!mnemosyne.cs.du.edu!aburt
- From: aburt@mnemosyne.cs.du.edu (Andrew Burt)
- Subject: Re: Display array highlist
- Message-ID: <1992Dec15.145006.8036@mnemosyne.cs.du.edu>
- Organization: University of Denver, Dept. of Math & Comp. Sci.
- References: <memo.808387@cix.compulink.co.uk>
- Date: Tue, 15 Dec 92 14:50:06 GMT
- Lines: 54
-
- In <memo.808387@cix.compulink.co.uk> shemminga@cix.compulink.co.uk (Stuart Hemming) writes:
-
- >In <1992Dec10.181239.29704@mnemosyne.cs.du.edu> I, Andrew Burt, wrote:
-
- >> But, seriously, here's one that I haven't researched enough to know
- >> that it can't be done:
- >>
- !!!!!!
- >> Is there any way to display a report to a window, and scroll through
- ^^^^^^
- >> it (up/down)?
-
- >In your report include:
-
- >OUTPUT
- > REPORT TO PIPE "less" -- Assumes you have less. Pick it up at
- > -- FTP site near you NOW!
-
- >The only problem with list is that you will always get the output on
- >the screen.
-
- (Actually, most modern 'more's can backscroll. That isn't the point.)
-
- The only problem is that the output is on the WHOLE screen, not in a WINDOW.
-
- I want to say, "REPORT TO WINDOW foo".
-
- Just for grins, I did get this idea implemented. I consider the manner
- of solution ugly: writing 4gl-C wrappers for fopen, fgets, etc. then
- defining a screen form N chars wide in M rows, for use in a display array.
- It's ugly because (once again) you either have to use a fixed size array
- with display array or roll your own display code (which to me seems insane,
- since that's the kind of thing 4gl is supposed to do for you!). This is
- a lot more code than something like
-
- OPEN WINDOW foo AT 5,5 WITH 10 ROWS, 60 COLUMNS
- ...
- REPORT TO WINDOW foo
-
- "report to window" should automatically allow scrolling, like display array.
-
- Heck, even having a
-
- DISPLAY FILE "report.out" TO WINDOW foo
-
- would be good enough for me.
-
- Are you listening, Informix?
- Your customers are speaking... rumble, rumble... :-)
- --
-
- Andrew Burt aburt@du.edu
-
- "But if he was dying he wouldn't bother to carve "Aaaaargh", he'd just say it."
-