RE: Up Arrow doesn't work on form
Posted in 2006
Chad- The problem is that you have separate input statements for each of the data items. Try this instead: MAIN OPEN FORM txr8849 FROM "txr8849" DISPLAY FORM txr8849 INPUT BY NAME rptdest, mv_begin_date, mv_end_date, mv_sch_code, mv_product CALL run_report_tx8849() END MAIN --EEM > -----Original Message----- > From: Chad [mailto:c320f@yahoo.com] > Sent: Monday, September 11, 2006 4:40 PM > To: informix-list@iiug.org > Subject: Up Arrow doesn't work on form > > I have created my first form and 4GL report, but when navigating the > form the up arrow key doesn't put the cursor to the previous field. I > can only go forward through the fields with either enter, down arrow or > right arrow. Isn't it a default for up arrow or left arrow to go to > the previous field? The report and form were compiled with compiled > 4gl 7.32 on Slackware Linux. I tried setting > TERMCAP=$INFORMIXDIR/etc/termcap, but that didn't help. > > database formonly > > screen > { > Report Destination: [f000 ] > Start Date: [f001 ] > End Date: [f002 ] > Schedule Code: [f003 ] > (G)as, (D)iesel, (K)erosene: [a] > } > end > > attributes > f000 = formonly.rptdest type char, default = "laser", required, > comments = "Enter printer name or S to display to screen"; > f001 = formonly.mv_begin_date type date; > f002 = formonly.mv_end_date type date; > f003 = formonly.mv_sch_code type char; > a = formonly.mv_product type char; > end > > > > DATABASE dbname > DEFINE mv_BEGIN_DATE DATE > DEFINE mv_END_DATE DATE > DEFINE mv_SCH_CODE CHAR (5) > DEFINE mv_PRODUCT CHAR (1) > DEFINE rptdest CHAR (25) > > MAIN > OPEN FORM txr8849 FROM "txr8849" > DISPLAY FORM txr8849 > INPUT BY NAME rptdest > INPUT BY NAME mv_begin_date > INPUT BY NAME mv_end_date > INPUT BY NAME mv_sch_code > INPUT BY NAME mv_product > CALL run_report_tx8849() > END MAIN > > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list