Re: Can I force Accept key thru i4gl?
Posted in 1997
Yes, this particular answer should have included a test against the number of screen lines - but we're grown enough to figure that out. What you do is use this and offer the user a menu option to view the actual contents of the array - if they select it then you drop into the display array code. If you want an example check out analyse_idx.sh in the archives. cheers j. At 07:16 PM 11/6/97 GMT, you wrote: }On Thu, 06 Nov 1997, Dennis Pimple wrote: } }|I'd advise getting away from DISPLAY ARRAY and just DISPLAY: }| }|FOR x = 1 TO rowcount }|DISPLAY myrecord[x].* TO scrrecord[x].* }|END FOR } }I gave this a try and it worked fine until I came across a record }which had more detail records than the screen could display. It then }dumped me out of the program. Also, I apparently had to limit my i4gl }ARRAY[x] OF RECORD statement to the SCREEN RECORD[x] form }statement. } }I'd like the user to be able to have a Detail option on the menu }which allows one to enter the detail section and scroll down beyond }what is initially visible on the 6-rows. At this point the user would }have to hit the Accept key to proceed to the next master record. }Nelson Fredsell }Cornerstone Capital }Atlanta, GA }nfredsel@cornercap.com } }