Re: Using values from CONSTRUCT
Posted in 1995
Joao Natal (natal@telepac.pt) wrote: : Hi, you Informix gurus out there, : Let's see if anyone could help me with this one. I have a CONSTRUCT, : and I need to right justify the value of one of the fields prior to : the user presses ACCEPT. : : It goes something like this: : +--- char(6) : | : v : CONSTRUCT BY NAME char_var ON table.col1, table.col2, ..., table.coln : AFTER FIELD col1 off the top of my head (i.e.: check my syntax): LET lcol1 = get_fldbuf(col1) WHILE LENGTH(lcol1) < 6 LET lcol1 = " ", lcol1 CLIPPED END WHILE DISPLAY lcol1 TO col1 You may have to have a screen record to do the display, so you may have to alter the CONSTRUCT statement slightly. ======================================================================= Dennis J. Pimple dennisp@informix.com Opinions expressed Senior Consultant -------------------- are mine, and do not Informix Software Inc Voice: 303-850-0210 necessarily reflect Denver Colorado USA Fax: 303-779-4025 those of my employer.