MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » February 1999

Re: subfile processing: SFLSIZ=SFLPAG (was: readc & sflnxtchg)



fixed

Simon wrote:
>Can you explain this a bit more?  I don't understand the comments about
field selection.  I am fairly sure 
>fields in a subfile record cannot be conditioned.  So do you mean each SFL
record is really a single field 
>which is formatted programmatically?

If SFLSIZ=SFLSIZ, you can condition fields. So, in the example I originally
posted, a PO's by vendor inquiry, one could have a subfile like this (I
hope the indenting works):


Mr. Vendor, 123 Somewhere Ave, KS
YTD Purchases: $25000
 PO 12345-1 CAT# 56789001 ORD QTY 100
   QTY  10 DUE 1/1/99
     QTY 5 RCVD 1/1/99
     QTY 5 RCVD 1/2/99
   QTY  10 DUE 2/1/99
   QTY  80 DUE 4/1/99
                             ...more

Line 1 & 2 could be conditioned by *in50
Line 3 could be conditioned by *in51
Line 4,7,8 could be conditioned by *in52
Line 5,6 could be conditioned by *in53

Notice that line 1 occupies two lines on the screen.

As I said, populating such a subfile is tricky...paging is even more
difficult. I was curious how some on the list handle these things.

I find them very useful. The screen can be transformed into something more
user friendly...of course that is just my opinion.

Take care,
Wynn

Sen P/A
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact