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!

input data in a chart from an array

Status
Not open for further replies.

xbb4095l

MIS
Feb 17, 2003
3
DE
Hello,
to realize a project, i need to calculate
weeknumbers form a date then to count the
items and after this another calculation
with other datas. Therefore i realized all
with arrays. This works well. I can insert
all data of the array in the report.
But i don`t succeed to put the data in a
chart!
How can i do this?
Here my formulas that i use:
report header:
Shared NumberVar Array a_fehleranzahl := [0,0,0,0,0,0];

details:
Shared NumberVar Array a_fehleranzahl;
if {~CRPT_TMP0001_ttx.Fehler_Titel} <> &quot;geliefertedateien&quot; Then a_fehleranzahl[DatePart (&quot;ww&quot;,{~CRPT_TMP0001_ttx.Fehler_Datum} )]:= a_fehleranzahl[DatePart (&quot;ww&quot;,{~CRPT_TMP0001_ttx.Fehler_Datum} )] + 1

How can i output the values of the Array a_fehleranzahl in a chart?
 
I don't believe you can create a chart in Crystal from an array. You will have to create formula field(s) from the array. The Join function might help depending on your requirements. Or you may have to export the data.

Howard Hammerman,
Crystal Training and Crystal Material
On-site and public classes
Low-cost telephone/email support
FREE independent Crystal newsletter
howard@hammerman.com
800-783-2269
 
Hello Mr. Hammerman,
i already created formula fields like
Array a_fehleranzahl [3];
In my report i can see the value.
But i don't see it in a chart!?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top