Topic Options
#18357 - 08/18/09 05:07 PM Column header
Eva_Froese Offline
Adagio Expert

Registered: 09/22/06
Posts: 799
Loc: MB
If I do a departmental print, how can I show the column header as a department description instead of the department number?


Edited by Eva_Froese (08/18/09 05:08 PM)
_________________________
Eva Froese
ChoiceTech Accounting Solutions
eva@choicetech.ca

Top
#18358 - 08/18/09 05:17 PM Re: Column header [Re: Eva_Froese]
Michael Mulrooney Offline
Adagio Virtuoso

Registered: 02/07/02
Posts: 839
Loc: Vancouver, BC
=TRIM(DEPARTMENT(0)) give you the Department Code or * as a result.

=TRIM(DEPARTMENT("100")) will return the description for department 100

If E6 = 100 and Department 100 description is East Coast then

=TRIM(DEPARTMENT(E6)) will return East Coast

Top
#18359 - 08/18/09 05:21 PM Re: Column header [Re: Eva_Froese]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11571
Loc: Vancouver, BC Canada
Hi Eva,

The formula =DEPARTMENT(1) will return the description of the department selected in the toolbar or by the Department Print function, and can be used in the top of each statement or any cell as desired. Use TRIM (as Michael indicated) if you need to get rid of leading or trailing spaces.

You have asked about putting the department description as a column header. Certainly the above will work, as will Michael's examples - just wondering how this fits with the Departmental Print function? Usually column headers indicate that you want to compare multiple departments, something that the Departmental Print function is not set up not do - generate a single statement comparing all selected departments.
_________________________
Regards,
Softrak Tech Support

Top
#18372 - 08/19/09 11:15 AM Re: Column header [Re: Softrak Support]
Eva_Froese Offline
Adagio Expert

Registered: 09/22/06
Posts: 799
Loc: MB
The idea is to be able to select any combination of departments to report on. The number and selected departments the reports are run for could be differenct every time.
_________________________
Eva Froese
ChoiceTech Accounting Solutions
eva@choicetech.ca

Top
#18373 - 08/19/09 11:21 AM Re: Column header [Re: Eva_Froese]
Michael Mulrooney Offline
Adagio Virtuoso

Registered: 02/07/02
Posts: 839
Loc: Vancouver, BC
Then =DEPARTMENT(1) is what you want for your Heading


Edited by Michael Mulrooney (08/19/09 11:22 AM)

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 86 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14485 Topics
70732 Posts

Max Online: 432 @ 01/20/25 10:17 PM
May
Su M Tu W Th F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31