Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collapsing a File

Status
Not open for further replies.

JoaoPinto

Programmer
Feb 12, 2003
26
US
Hi,

Currently I have a report that looks like this

Reg Terr Mar Agent Name Days

002 2 04 DAN FINN MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
JEANNE NUCCIO MONDAY
FRIDAY
DAN FINN MONDAY
TUESDAY
FRIDAY


I would like it to look like this

Reg Terr Mar Agent Name Mon Tue Wed Thur Fri

002 2 04 DAN FINN X X X X X
JEANNE NUCCIO X X
DAN FINN X X X



Can anyone think of an easy way to do it?

 
If its going to be from a table then you can say as


TABLE FILE WEEK
PRINT
Reg
Terr
Mar
Agent
Name
ACROSS DAYS
END
See if this helps.
THANK YOU
Ganesh



 
Hi JoaoPinto,

You can also try it with a define:

[tt]
DEFINE FILE XYZ
CROSS/A1 = 'X';
END

TABLE FILE XYZ

PRINT CROSS

BY REG
BY TERR
BY MAR
BY AGENTNAME

ACROSS DAYS

END
[/tt]

Eva
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top