× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Douglas

I would change the key order: ILNSOLDTO  ILNINVDATE  ILNSTK                     
        

Then SETLL on ILNSOLDTO/fromdate, READE on ILNSOLDTO  and test ILNINVDATE with 
todate

Regards,
Carel Teijgeler

*********** REPLY SEPARATOR  ***********

On 2-6-05 at 13:43 Douglas W. Palme wrote:

>I am in need of some help......
>
>I have a LF that contains the following:
>
>0001.00                 R SALES                     PFILE(IMPILN00) 
>0002.00      A            ILNSOLDTO                                 
>0003.00      A            ILNINVDATE                                
>0004.00      A            ILNSTK                                    
>0005.00      A            ILNQTYSHP                                 
>0006.00      A            ILNEPRICE                                 
>0007.00      A            ILNEUAVCST                                
>0008.00      A          K ILNINVDATE                                
>0009.00      A          K ILNSOLDTO                                 
>0010.00      A          K ILNSTK                                    
>
>What I am trying to accomplish here is display a subfile with stock totals 
>for the various sales staff individuals for their respective customers.
>
>At first I had the primary K set to ILNSOLDTO so I could chain the file and 
>verify the entered (coming from a DSPF) customer number is / was valid.  
>Then I need to do a SETLL for the specific data range they want....
>
>I really need to keep the records grouped by the customer number, then in 
>date order and then by stock number, that way I can do a READE until the 
>customer number changes and thus EOF display the data and I'm out.
>
>I know I can eval each record for the date but it seems that will only take 
>a ton more time....correct? Incorrect? 
>
>Suggestions or ideas would be appreciated.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.