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!

Array in a Cross-Tab

Status
Not open for further replies.

eliasc

IS-IT--Management
Feb 15, 2008
11
US
Hi,

I am using CR 10, and I am trying to populate the columns to look like below:

ATL INVOICE ATL SERVICE ATL WARR. BIRM INVOICE BIRM SERVICE.

Below is the array I am trying to use, but CR is telling me I cannot use it. Can someone please help me.

The Array:

StringVar Array Companies := [
"HFSE - FW",
"ATLANTA INVOICE",
"ATLANTA SERVICE",
"ATLANTA WARR.",
"BIRMINGHAM INVOICE",
"BIRMINGHAM SERVICE",
"BIRMINGHAM WARR.",
"BGSI INVOICE",
"BGSI SERVICE",
"BGSI WARR.",
"PEN INVOICE",
"PEN SERVICE",
"PEN WARR.",
"JACKSON INVOICE",
"JACKSON SERVICE",
"JACKSON WARR.",
"FORT WORTH INVOICE",
"FORT WORTH SERVICE",
"FORT WORTH WARR.",
"JAX INVOICE",
"JAX SERVICE",
"JAX WARR.",
"LOUISVILLE INVOICE",
"LOUSIVILLE SERVICE",
"LOUISVILLE WARR.",
"OKLAHOMA CITY INVOICE",
"OKLAHOMA CITY SERVICE",
"OKLAHOMA CITY WARR."
];

How can I pass the above array to the column of a cross tab?

Thank you.

 
A cross-tab is based on added detail records for two different fields. Here you want multiple values from just one record,

You could try a mock-crosstab - use SEARCH for details

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top