Yup I guess your right... when I do it in RPG I build an array and write the array out to the table as the first row. Then the user uploads it into excel with column headings

-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, June 06, 2012 9:29 AM
To: BPCS ERP System
Subject: Re: [BPCS-L] Field Column Headings of BPCS Files

Then you'd have to pivot that...


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Mark Sabol <msabol@xxxxxxxxxxxxxxxx>
To: BPCS ERP System <bpcs-l@xxxxxxxxxxxx>,
Date: 06/06/2012 08:56 AM
Subject: Re: [BPCS-L] Field Column Headings of BPCS Files
Sent by: bpcs-l-bounces@xxxxxxxxxxxx



If you are building an output file you can do a two pass. First you can
get the field names or headings with this statement
Select * from syscolumns where table_name='RCM'
This system table has everything you need to know about the fields in a
table

-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On
Behalf Of Margareth Sere
Sent: Wednesday, June 06, 2012 5:16 AM
To: BPCS ERP System
Subject: [BPCS-L] Field Column Headings of BPCS Files

Dear ALL,
Apology if my question is not exactly related to BPCS. But the data I am
using comes from BPCS files.
I was using SQL and when selecting to show data file records, the column
headings showed the field text and not the field names.
Can anyone let me know how to show the field names in the column heading
instead of field text.
I am not sure if it has to do with how the BPCS files was created. Anyhow,
how can I control it.

Sample of my SQL statement: SELECT * from RCM

Thank you so much for your help.

Regards,
Margie
--
This is the BPCS ERP System (BPCS-L) mailing list To post a message email:
BPCS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/bpcs-l
or email: BPCS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/bpcs-l.


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