Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!pitt!darth!investor.pgh.pa.us!bwm From: bwm@investor.pgh.pa.us (Bruce Miller #307) Newsgroups: comp.databases Subject: Need help w/Informix 4gl forms Message-ID: <1991Feb12.220516.242@investor.pgh.pa.us> Date: 12 Feb 91 22:05:16 GMT Reply-To: bwm@investor.pgh.pa.us (Bruce Miller #307) Distribution: usa Organization: Cookson, Peirce & Co., Pittsburgh, PA Lines: 28 I am working with Informix 4gl v.1.10.00 and need some help with screen forms. What I would like to do is to call a screen form using a program variable rather than calling the form directly. I have a table with information on an individual and his stock broker (my clients may be using any one of 40+ different brokers) and in the program I call up a form that looks like the brokers confirm to make it easy for a novice to get the required data (i.e. trade date not settlement date etc..). What I would like to be able to do is: open form ml from "pr_ar.broker" options input wrap display form ml where pr_ar.broker is a character variable that equals ML for example, and I have a compiled form called ML.frm. However, as is obvious the program is looking for pr_ar.broker not the value to which pr_ar.broker is set equal. I have tried using "$pr_ar.broker", and a few other things but to no avail. Looking at the c-code generated hasn't been much help (but then again I haven't much C programming background - except for reading a few texts) Any Help/Ideas would be appreciated! -- Bruce W. Miller (bwm@investor.pgh.pa.usa) (412) 471-5320 work (412) 731-4946 home