Re: INPUT ARRAY question
Posted in 1995
Topics: Stored Procedures & SPL
>You need a sixth field in the array both screen and program array and this >could be defined as a noentry field. > > Invoice Date Balance Default Date Payment Date Payment > [04/01/95] [ 2000.00] [05/01/95] [ ] [ ][a] > [05/01/95] [ 900.00] [06/01/95] [ ] [ ][a] > [05/15/95] [ 4000.00] [06/15/95] [ ] [ ][a] > [06/01/95] [ 1000.00] [07/01/95] [ ] [ ][a] > [06/15/95] [ 1500.00] [07/15/96] [ ] [ ][a] > >Here the field [a] would have to be defined on the screen form and the >program array. > >Now when the user presses a function key the code segment would look like > > ON KEY (F1) > NEXT FIELD fld_a > >Since field a is a no entry field the cursor would automatically drop down >to the next array element. > >Hope this helps. In addition what Siva wrote ; In the attribute definition if you use INVISIBLE option nothing is displayed to the field 'a' -------------------------------------------------------- a = formonly.fld_a TYPE CHAR,NOENTRY,INVISIBLE; -------------------------------------------------------- Regards, ==================================================================== Omer OZTAN Research Assistant e-mail Middle East Technical University omer@rorqual.cc.metu.edu.tr President's Office oztan@daimler.me.metu.edu.tr Computer Center omer@knidos.cc.metu.edu.tr oztan@ceng.metu.edu.tr ====================================================================