|
I want to have a top section of the screen that allows them to enter search criteria, and a bottom section of the screen that allows selection of items in a sub-file of the entries that are found. Entry of either a character on a subfile line takes them to a detail screen format, and entry of new parameters in the top section rebuilds the subfile in the bottom section.
Here's what I'd do:
a) Put the entry fields in the SFLCTL record.
I started thinking of using window-bordering, and making a top format window for entry, a middle format window for the subfile control record, a lower middle format window for the subfile, and a bottom format window for F-key and instruction line. But I am not sure, if I use the selection parms and exfmt the subfile, and the user changes the top format window selection parameters, will I receive these in the DSPF field buffers? Or will only the subfile records change?
Is there a better way to do this? Can you have input fields in the SFLCTL format?
Yes, you can. It's just like any other record in that respect.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.