Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: mapping of dynamic dates in crystal report Post Reply Post New Topic
Author Message
rishu2003
Newbie
Newbie


Joined: 09 Feb 2012
Location: India
Online Status: Offline
Posts: 3
Quote rishu2003 Replybullet Topic: mapping of dynamic dates in crystal report
    Posted: 10 Feb 2012 at 12:05am
Am using crystal report which am binding with sp .. in sp am using dynamic columns as headers depending on the selection of dates by the user ...

for example

name Blocktype BlockGrup 1* 2 3 4 5 6 7 ...31dates

over here 1* is public holiday
when am creating 31 columns naming 1,2,3,4..31
it wont map the 1* since 1* column name is not same
so how can i do it any ideas because public holiday can fall on any day depending on the selection on the user...
ALSO
now AM creating 35 columns in data table any other method so that i dont have to create 35 columns plzzzzz plzz help ???
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 10 Feb 2012 at 6:43am
since it is a sp, name the columns 1-31 and put a field IsHoliday and set it to true instead of changing the column name.
 
depending on how you're going to use it, pivot the table to have 31 rows with only a couple of columns and have the report format it (using multi column report)
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.016 seconds.