INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Crystal reports 2013 - Supressed records leaving a line of delimiters when exporting a file to CSV

Crystal reports 2013 - Supressed records leaving a line of delimiters when exporting a file to CSV

Crystal reports 2013 - Supressed records leaving a line of delimiters when exporting a file to CSV

(OP)
I have a confusing issue that I can't find any solution to.

I have a report that I have created, there are some duplicate records caused because there is 1 table where it is a 1toN relationship (valuation of an item at two different dates)
In the report we need to only return the most recent dated record.

Within the report it was easy enough to remove the duplicate using Section Expert & the MAXIMUM function.

The only downside is when I export the file as csv (as it has to be loaded to another application) the csv file has a line of delimiters with no data where the supressed record would have been which is causing the receiving system to fail the load

I haven't found anything i can use in select expert to be able to remove the records, I have tried creating it as a command - but the supression of the records doesn't carry through

Any ideas???

RE: Crystal reports 2013 - Supressed records leaving a line of delimiters when exporting a file to CSV

Unfortunately, this is one of the limitations of the .csv export. Instead of suppressing data, you have a couple of options:

1. Group on whatever it is that you're trying to show the dates for. Then sort by date descending. Put all of the data in the Group Header section(s). Take everything out of details and suppress it.

2. Instead of linking together tables for your report, write a command (SQL Select statement) that will filter out the earlier dates before returning the data to the report. For more info about using commands, see my blog post here: http://scn.sap.com/community/crystal-reports/blog/....

-Dell

DecisionFirst Technologies - Seven-time SAP BusinessObjects Solution Partner of the Year
www.decisionfirst.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close