Focal Point
Across Sort

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6561074691

November 14, 2006, 09:48 AM
kalyanswarna
Across Sort
Hi All,

1.could you please let me is there any way to change the column titles in ACROSS field.

2.is it possible to sort the columns in Across.


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
November 14, 2006, 10:50 AM
Kamesh
If I understand you correctly, this the following code is the one you are looking for

TABLE FILE CAR
PRINT CAR BODYTYPE
ACROSS COUNTRY COLUMNS ENGLAND AND FRANCE AND GERMANY
END
-EXIT


WFConsultant

WF 8105M on Win7/Tomcat
November 15, 2006, 12:22 AM
kalyanswarna
Hi Kamesh,

i want to change the columns names by using alias is it possible.
TABLE FILE CAR
PRINT CAR BODYTYPE
ACROSS COUNTRY COLUMNS ENGLAND AS'ENG' AND FRANCE AND GERMANY
END
-EXIT
I TRIED IN THE ABOVE MANNER BUT IT IS NOT WORKING.
IS THERE ANY OTHER CODE TO DO THIS.

THANKS,
KALYAN


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
November 15, 2006, 02:42 AM
Tony A
Kaylan,

Think about this logically and you can work it out.

Kamesh gave you a method of controlling the across columns, so take that and then realise that you could do the same on a defined field -

DEFINE FILE CAR
  MYCOL/A20 = DECODE COUNTRY('ENGLAND' 'Eng' etc.);
END
TABLE FILE CAR
PRINT CAR BODYTYPE
ACROSS MYCOL COLUMNS 'Frnc' AND 'Eng' AND 'Germ'
END
-EXIT

You just have to give it a small amount of thought.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 15, 2006, 08:42 AM
kalyanswarna
Thanks tony.

here in the same ACROSS Column i would like to calculate some of the columns row total, is it possible.

please let me know.

Thanks a lot.


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------