Re: Dynamic input statement
Posted in 1995
johnyc@mainelink.net wrote: : Another way to do this is to input all values, but use 'after field' control : to change to the proper next field. : Rather kludgy but it should work. Actually, I think this way will work better than the previous mail's suggestion, and INPUT BY NAME is still available as an option. Only; I suggest putting the checking code in the BEFORE FIELD control block of the field you want to keep the users out of, to prevent them from "backing into" the fields via up arrow. ======================================================================= Dennis J. Pimple dennisp@informix.com Opinions expressed Principal 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. : ------------------------------------------------------------------------- : In article <48ah8h$61t@newsbf02.news.aol.com>, : bmcdoug101@aol.com (BMcdoug101) wrote: : >Can you have a dynamic input statement in 4GL? : > : >I have a scenario where I need to read certain values to a form given a : >condition. : >The form contains a single row from a database. : > : >EX: : > : >Under condition 1, I need to read values x1,y1, and : >under condition 2, I need to read values x2,y2 (x1,y2,x2,y2 are columns in : >a DB). : > : >Can I create ONE dynamic input statement, rather than having an input : >statement : >for every condition?