11-08-2017 5:14 PM - edited 02-04-2024 2:45 AM
Hello
I have report that has some prompt variables. In that one variable is from date. Whatever the date i enter in the prompt that value it should appear in the top right corner of my crystal report 2016 version. Can anybody tell me how to do this?
Any System defined field?
Hi Paturi,
Just drag and drop the date parameter which you require in the report layout from parameter tab as shown in the below image.
If you require any more information. Please go to below link:
https://www.tutorialspoint.com/crystal_reports/crystal_reports_parameters.htm
Regards,
Anish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Anish,
Thank you for the Reply. I tried with the below logic. But it gives me the format of DD/MM/YYYY
ToText(DateSerial(ToNumber(Left(ToText({?psHana Variable IP_FROMDATE}),4)),
ToNumber(Mid (ToText({?psHana Variable IP_FROMDATE}), 5, 2)),
ToNumber(Right(ToText({?psHana Variable IP_FROMDATE}),2))),"dd/MM/yyyy")-- If i give the format here as yyyy/mm/dd its showing me the error. if i dont give number 5 in the second line that also not working.
Can you please suggest me with the correction ?
Thanks
Paturi
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.