× 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.



Glenn,

Use an array. Strip the last three digits of the field name and use that as the 
index of the array.

Regards,
Carel Teijgeler

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

On 16-6-05 at 15:51 Glenn Gundermann wrote:

>I hope my example below is clear. 
>
>I have one file with many records for a given part, each containing just one 
>value.  I want to update another file to hold all the values for one part on 
>one record. 
>
>E.g. 
>
>Input File: 3 fields: key + field name + value
> -----------------------------------------------
>PARTA  INV001   30
>PARTA  INV003   40
>PARTA  INV007   50 
>
>I want the output file to look as follows: key + values
> --------------------------------------------------------
>PARTA  30   <blank>  40   <blank>   <blank>   <blank>   50 
>
>There are a possibility of 999 different fields so I don't want to code a  
>complicated SELECT. 




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.