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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is This Possible,

Status
Not open for further replies.

tonygr

Technical User
Jan 20, 2005
42
GB
I have a report with a select statement which brings up records defind by user i.e. dates. this report is often used as a monthly report so :1/1/06 to 31/1/06.
What I would like to do is to be able to show in another graph the same infomation but for a longer date period i.e. 1/1/03 to todaysdate, so it acts of its own accord.
The way in which i envisage this happening is through a formular and then us the chart expert and select this formular as a column or whatever. I know the normal route for this type of thingy is to create a subreport or open up the select to include these records then suppress other info via formulars. Can anybody shed some light and give some much appreciated guidance.
regards in advance
Tony
 
You can write a formula field that creates various intervals. I did one with code like
Code:
if Year({Command.Birthdate})< 1985
then "a) Before 1985"
else
if Year({Command.Birthdate})< 1993
then "b) Year " & Totext({@Customer_24}, "yyyy")
else
"c) Month " & Totext({@Customer_24}, "yyyy") 
         & " mth " & Totext({@Customer_24}, "MM")

I've done this for both charts and crosstabs, in Crystal 10. I think version makes a difference to what crosstabs will accept, and you should always say what your version is.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Thank you for the quick responce.
Sorry About That,
Crystal version XI developer edition.
Your responce seems to be in line with what i was thinking.
I will have a play and let you know how it goes.
thanks
Again
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top