Re: Screen array problem (repost)
Posted in 1997
Topics: Server Administration
Richard Hawkins wrote: > > I've put together a screen which basically shows seven > days of clocking information. I've used a screen array > where the rows go down the screen instead of the usual > across i.e. > > MON TUE WED THU > [f000 ][f000 ][f000 ][f000 ] > [f001 ][f001 ][f001 ][f001 ] > [f002 ][f002 ][f002 ][f002 ] > [f003 ][f003 ][f003 ][f003 ] > [f004 ][f004 ][f004 ][f004 ] > > Now if the cursor is in field 'mon f0000' and I press > TAB or the right arrow, I should want it to go into > the tue f000. Instead it goes into mon f0001. This > is of course correct if it was set out as normal, > f000 to the left of f0001. But in this case it > isn't. If the cursor is in wed f003 and I press the > left arrow, I want it to go into f003 tue, but it > goes into f002 wed (upwards). > > I just wondered if it's possible to redefine the arrow > keys within the program. Or maybe code a way around > it. > > Please help! > > Thanks, Rich. > > http://www.netcomuk.co.uk/~richh I think you're problem is that in the screen array you made you have one mon, onde tue, one wed, etc. record. Informix thinks you want to fill in record after record so first the complete mondy is handeld, after that tuesday and so on. I think the screen record should look like this: MON TUE WED THU [f000 ][f001 ][f002 ][f003 ] [f000 ][f001 ][f002 ][f003 ] [f000 ][f001 ][f002 ][f003 ] [f000 ][f001 ][f002 ][f003 ] [f000 ][f001 ][f002 ][f003 ] On this way Informix would you give the change to fill in line after line. I hope this answer has helped you on your way. Greetings, Rob Prop (DBA / Sr. Programmer)