More NewEra Conundrums
Posted in 1995
Hi folks, here's some more NewEra conundrums. I am trying to retain similar functionality in a NewEra application as I have in a pre-existing 4GL system. Of question here are "zoom" screens. When data changes in a specific field (on insert or on update), if the user has entered a wildcard a new window opens with a pick list. This pick list also allows the user to enter new selection criteria. For those of you with Fourgen experience, I'm speaking of their standard zoom screen behavior. I have successfully added a second 4gi (I'm using p-code) to my application. This new window is opened using a "run 'fglgo peopzm'" command. I've passed the filter through an intermediate table and the screen is correctly populated. The user can then select the record wanted. The intermediate table is updated and the window closed. Finally, the field in question (people code) and corresponding display fields (people name fields) are correctly populated. I'm having two problems, however: 1) For a period of time, when I wished to start the "zoom" program the system reported a stack error and everything died. I had to reboot the computer to get it to work again. And: 2) When the filter is "1=1" the entire people table is brought up. My development database contains 8058 records of size 307. It appears that the memory required to hold these records becomes unavailable after exiting the zoom program, everything slows down to a crawl at that point. Is this usual behavior for Windoze systems? I'm not a Windoze person and this is my first involvement with developing anything on DOS/Windows systems. I'm having serious reservations about the reliability of NewEra applications at least in a Windoze environment. A further question about problem 1; the books tell me that I can't start up a second NewEra application with a run statement. One book has a caveat that it is possible but only one program may access a database. Both of mine do and, aside from the stack error, it seems to work. ----------- There are more things in heaven and earth, Horatio, ---------------- Scott Holmes <sholmes@netcom.com> Informix 4GL Applications ---------------- Than are dreamt of in your philosophy. ------------------------