Crystal Reports 2008: Convert past date to future date
-
Crystal version: Crystal Reports 2008 I have a report that I need to reference a past date (9/18/2011) and have any items with that date be "converted" to a future date (10/02/2011). One of my report sections is a group by this date. NOTE: I can't change the date on the DB. Any ideas? Currently: Date: Project: 9/18/2011 Project1 9/18/2011 Project4 9/18/2011 Project5 9/30/2011 Project2 10/2/2011 Project3 Convert the dates to look like this on the report: Date: Project: 9/30/2011 Project2 10/2/2011 Project1 10/2/2011 Project3 10/2/2011 Project4 10/2/2011 Project5
-
Answer:
Create a new formula to group-by/display instead: if {Table.TheDate} = date(2011,09,18) then date(2011,10,02) else {Table.TheDate}
Jeremy F. at Stack Overflow Visit the source
Other answers
//{@date_field} //replace table.date_field with correct value IIf({table.date_field} = Date(2011,09,18), Date(2011,10,02), {table.date_field})
craig
Related Q & A:
- How To Know Your Future By Date Of Birth For Free?Best solution by my-fortune-teller.com
- How to Convert Json date string to more readable date format?Best solution by SharePoint
- How to store global date time and convert it to local date time?Best solution by Stack Overflow
- How to convert full date/time to timestamp?Best solution by Stack Overflow
- How to convert a GMT timestamp to proper Date in PHP?Best solution by stackoverflow.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.