hello
I am facing a problem in the crystal reports 8.5
In the database table one column is date ,
so here in my report i want to display the records in such a way that
the for every date there should be one colum like for 31 days there should the date in all 31 day
for example please refer the attachment
or see below the requirement is
in my example the records with the days like 21,22
which is diplaying in next to row of the 21 day but i want to show in the same row i.e side by side not in the next row
please any query please pass it so that i can explain you in more detail
urgentplz any one help me|||Maybe you can do this with a crosstab - no idea as I've never used them.
So, although there may be better ways the one I instantly thought of is:
Assuming you are grouping by month:
Create/initialise an array of 31 elements in the group header.
For each detail, add the value into the appropriate array element.
Display each element in its appropriate position in the footer, under its day number.
For completeness you could also suppress any day number heading if > number of days in the month.|||thanks for reply
But i had created with standard report.
but one more issue in this if i take in footer it will display only one record
how can i resolve this|||Don't know what you mean by "But i had created with standard report."
Anyway, if I understand correctly what you really want is for each detail line to be printed but for the 'RT' etc. values to be under the correct day number heading.
Maybe you could left-pad the 'RT' string with a number of spaces dependent on the day number, e.g.
ReplicateString (' ', ({day}-1) * n ) + {table.column}
where n makes the 'RT' text line up underneath the day number heading for any given day number assuming you have n characters between the start of each day number.
(Best to use Courier font or similar, rather than Ariel...)|||Dont use standard report. Use Cross tab option. See help file for more information
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment