Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Report design advice needed! Post Reply Post New Topic
Author Message
andrew
Newbie
Newbie
Avatar

Joined: 11 Nov 2008
Location: United Kingdom
Online Status: Offline
Posts: 35
Quote andrew Replybullet Topic: Report design advice needed!
     Posted: 02 Dec 2009 at 4:37am
Hi All,

Right i need to make a report that enables our Sales department to see 'at a glance' bookings for certain rooms over the next 12 months, is this something that could be achieved by modifying the functionality of a gantt chart?

The report is currently made manually in Excell and looks something like this:

January

              M T W T F S S    M T W T F S S(weeks go further onto the end of the month).
Room 1   X  X X X   X X     X X     X X X X
Room 2       X X X             X X X  X X X X
Room 3   X X X X X X X    X X X X X   X X

So it just lets them know where there is free space where they could try and find a client to fill.

Is this something that can be done via a Gantt or other chart? or is there a simpler/ better solution?

Regards

Andrew




IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 02 Dec 2009 at 7:17am
What is your source data like?
Do you have rows with only affirmitive data (bookings) or do you have source data witrh all rows with no bookings (1 row for every calendar day)?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 02 Dec 2009 at 7:18am
At first glance I would go with a crosstab.
IP IP Logged
andrew
Newbie
Newbie
Avatar

Joined: 11 Nov 2008
Location: United Kingdom
Online Status: Offline
Posts: 35
Quote andrew Replybullet Posted: 03 Dec 2009 at 12:55am
Hi DBlank - thanks for getting back to me.

The data stored in the database is as follows:

Client name, name of event, date it starts, date it ends

(date started/ended is in MM/DD/YYYY format).

To confirm there are no tables/ columns for actual dates (like days in a month/ months in a year) - I was hoping I could resolve this by writing a formula.

I've started playing with cross-tabs and it appears that you need the data to be present in the database though :(


Edited by andrew - 03 Dec 2009 at 1:44am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 03 Dec 2009 at 7:42am

I was hoping you had one row per day. Would have made it easier and a crosstab would have been a simple solution Smile

I am not real sure on how I would approach this. Usually I would recommend creating a source table that has every day in it and outer joining to it, but as you have rows than span multiple days it makes it trickier.
Maybe someone else has an idea here...
IP IP Logged
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