Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can Crystal Access and Utilize Record Creation Date to Sort or Filter Report Data?

Status
Not open for further replies.

kc27

Technical User
Joined
Sep 10, 2008
Messages
171
Location
US
Hi

I am using Crystal Reports 9 to query a SQL database. I can retrieve and display the records on my report with no problem, but what I need to do is determine which records are 4 months or older. Is there a "date created" attribute that Crystal can access to determine when a record was written? If so, how would I access it to accomplish a report that filters out records based on each record's creation date?

Thanks in advance for any ideas on this.
 
The Record Creation Date is not a Crystal Reports function, but most database developers include a column in each table for the Record Creation Date/Time (and often a record Modification Date/Time as well).

As long as the tables have that column, you will be able to use it in your report. Just look through each of the fields where the data type is Date/Time, and the Column name looks something like CreationDate, Creation_Date, Create_Dte or similar.

Cheers
Pete

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top