Trying to re-arrange output of email with a list of items
- From: "Wagner, David --- Senior Programmer Analyst --- WGO"
- Date: Thu, 25 Jan 2007 15:36:47 -0800
I currently have data for group1 which has x entries associated
with it. As I currently put out the email, the data is going down the
page. Well with the data being displayed, I thought why not have all on
same line like following:
EE Eenural 148 ED Easuern 185 NO Noruhern 49
YO Youuhern 185
EGI 4 DQE 4 DYE 8
DNG 8
FRO 15 DEN 49 EUG 4
FTD 84
NOD 2 LVY 43 NED 1
GDR 4
ODK 43 PGX 45 POR 25
IVN 28
PET 4 YLE 45 YED 5
LOY 14
RNO 28 TUE 4 YPO 5
OTN 1
YDE 15 TDE 2
OXN 8
YDL 2
YDO 5
YJE 18
YFV 8
YLO 1
WGT 43
YTK 21
Under the old display, ED would have been under EE and NO would
have been under ED, etc.
There could be anything from 1 to 4 groups of data and the sizes
can be of any finite size. The data is in a hash with totals and EE
grouping has each of its subgroups(EGI FRO, etc) as a semi-colon
separated list. The subgroups have hashes which hold the counts in them.
I am at loss at how to proceed. I start one way and then it just
seems to get TOO complicated and it may be hard, but it shouldn't cause
the brain to freeze, I would think.
Line 1 of EE, ED seems pretty easy, but how to do a variable
size print and keep the columns lined up?
Any thoughts on it would be greatly appreciated.
I do NOT have any code at this point, but am trying to get
handle on how to re-arrange or ???? the data to print out.
Thanks for any input!!
Wags ;)
David R Wagner
Senior Programmer Analyst
FedEx Freight
1.408.323.4225x2224 TEL
1.408.323.4449 FAX
http://fedex.com/us
**********************************************************************
This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited.
**********************************************************************
- Follow-Ups:
- Prev by Date: Re: parsing XML
- Next by Date: Re: splicing an array
- Previous by thread: splicing an array
- Next by thread: Re: Trying to re-arrange output of email with a list of items
- Index(es):
Relevant Pages
|
|