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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export to odbc

Status
Not open for further replies.
Jul 11, 2006
32
0
0
US
I'm on Crystal 10, Oracle 10g.
My Crystal report has duplicates due to one to many links. I eliminate these through a group based on ID and any exports to XLS, text, etc are OK. But my export to ODBC results in a table with duplicate IDs. How can I get an ODBC export with each row a different ID?
 
Don't think you can as ODBC exports the dataset. YOu need to reduce your dataset.

In Report options you could try checking "Select distinct records"

Or you could change report to using a command, by taking your current SQL, and then doing a group by or select distinct to eliminate dups.

Ian
 
I found the solution. I had another group below ID in the report that I eliminated and the distinct records now export. The Select Distinct option has never worked in the way I would expect but removing that other group does the trick. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top