on 08-02-2007 8:45 AM
Post Author: Vishy
CA Forum: Formula
Hi,
Any one have any idea about, how to hardcode the date(s) in Crystal Reports?
For example, I want hardcode the US holidays in my Crystal Report.
I am using Version 9.0.
Your immediate help is greatly appreciated
Thanks,
Vishy
Post Author: SKodidine
CA Forum: Formula
Not sure about CR 9 but in CR XI, there is a custom repository function called cdStatutoryHolidays that you can customize for your holidays and use it in multiple reports if need be.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post Author: yangster
CA Forum: Formula
What are you going to do with these hard coded dates?You could create a custom function that resides in the repository so you can reuse the function over many reports instead of creating variables inside a single report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post Author: chantilly
CA Forum: Formula
Not sure I'm the best person to answer because I seem to be experimenting in my own inexperience. What I would try first would be to create variables for each of the holidays and pull them into the report. Such as
dateVar Christmas := Date (2007, 12, 25);Christmas
I think you can then perform more calculations on it, such as to find how many days etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.