Re: Multiple screen forms in 4GL
Posted in 1997
The IIUG software archive used to contain a multi-screen program in I4GL which demonstrated 3 screens seamlessly wrapping around like ISQL Perform which I wrote. It isn't necessarily the easiest code to understand (probably a British understatement), but it is pretty easy to specialize to two screens (I've done that several times) or to generalize to more than 3 screens. It probably still is there, but the connection is to the IIUG site for me is too excruciatingly slow (because of an overloaded internal proxy server in a far-distant place) to allow me to verify it in a timely manner. I typed the whole of this message, re-edited several times, and it still hasn't put up the "Software" page, and while I type fast, I don't type all that fast. [...Time passes...] Progress: I've got 100% of 2 kB at 2 bytes/sec! I'm sending this without waiting any longer. Yours, Jonathan Leffler (johnl@informix.com) #include <disclaimer.h> PS: If it isn't there, I should still have the original in my own archives. Let me know. }From: "Billy Wheeler" <billy@west.co.za> }To: wookie@world.std.com (Wookie), informix-list@rmy.emory.edu }Date: Sun, 15 Jun 1997 21:29:12 +0200 }X-Informix-List-Id: <list.14985> } }On 15 Jun 97 at 11:16, Wookie wrote: } }> So far, the only way I've found to do this is by splitting the }> fields up into two forms, and updating each one separately. But this }> is a MAJOR pain for the users of the application (who are not }> computer literate), as it means they need to do two database updates }> and cannot switch easily between the two forms. Things like queries }> and field updates are more complex too. Also, if the form expands to }> go over three screens, things get even more complicated. } }Huh? There's nothing saying that you can't have a couple of windows }open and toggle between them based on user actions at the "top" or }"bottom" of each screen. You just have to write a little code. You }can certainly write programs which behave similarly to SPERFORM forms }in terms of handling multi pages. } }Check out http://www.iiug.org - you might find some example code. }What you want to do can certainly be done....