Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: array Post Reply Post New Topic
Author Message
CindyA
Newbie
Newbie


Joined: 30 Jan 2009
Location: United States
Online Status: Offline
Posts: 4
Quote CindyA Replybullet Topic: array
    Posted: 18 Mar 2009 at 10:55am
My input file has a field that contains an array, it looks like this
"$100 discount", "LCN8 Bookbundle", "3 for 4", " Manual", "$150 Memebership upgrade".  I want to seperate each occurance and print each variable under a different column.  I have tried several different things and can't get anything to work.  When I try the 'unbound' it acts like the field is not an array.


Edited by CindyA - 19 Mar 2009 at 6:16am
Cindy
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 19 Mar 2009 at 7:01am
I haven't used array too often, but if the number of array members is constant you should be able to create a number of formulas that look like:
 
arrayVariable[1]
 
which should print the value in the array.
 
I would have thought that Crystal would have treated the values as separate fields when it read in the file....hmmm....but I have never worked from input files, just tables and stored procs.
 
hope this helped
IP IP Logged
CindyA
Newbie
Newbie


Joined: 30 Jan 2009
Location: United States
Online Status: Offline
Posts: 4
Quote CindyA Replybullet Posted: 19 Mar 2009 at 9:24am

The input file is a excel spread sheet.

Cindy
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.