Re: using CONSTRUCT in 4gl
Posted in 1992
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
In article <8875@emory.mathcs.emory.edu> infmx!obelix!johnl@uunet.UU.NET (Jonathan Leffler) writes: >> >>Does anybody know how to use existing data in program variables >>in a CONSTRUCT statement? In other words, I want to duplicate the >>effect of the "WITHOUT DEFAULTS" construct of the INPUT statement. >> >>I have data I am loading into program variables and then displaying >>on a form. The user then wants to modify the existing data and >>construct a query from the modified data. The problem is that when >>I use CONSTRUCT, the existing data in my program variables gets >>wiped out. >> >>Thanks for your help! >>- Howard > >Q1: Are you using I4GL 4.10? If not, go get it before proceeding to Q2. Is there any way to do this with 4gl Vers 4.0, 4.1 is not available for my platform yet. This is one of the most annoying little things I've come across and if anyone knows a way around this I'd love to hear about it. I'm using the construct to have users query for a customer in the database before allowing the option of adding. The problem is after they do their query and go to add I have no way of leaving what they typed in their query on screen -- they must type everything in from scratch. Thanks for any help in advance... -- /|| // // ,'/""\\' John Postma john@mks.com (519)884-2251 / ||/// //\\' `\\\\\\ Database Administrator, Mortice Kern Systems Inc. / |/ /_// \\\\___/ 35 King St. N., Waterloo, Ont., Can. N2J 2W9 o/ "Things are only impossible until they're not!" -- Capt Jean Luc Picard