Solved

Crystal Report problem !!!

Posted on 1998-08-03
4
206 Views
Last Modified: 2010-05-03
I am using 4.6 Crystal Report ( from VB Enterprise ).
I don't know how to  get distinct rows from database like "Select distinct .. from" SQL  phrase. Maybe  there is a way to modify SQL text that Crystal uses to retrieve rows or maybe there is other way ....

Marcin.
0
Comment
Question by:lizer
  • 2
4 Comments
 
LVL 14

Expert Comment

by:waty
ID: 1467615
Did you restrict your query by going to the menu "Select Record expert". In this menu, you can restrict whatever you want
0
 

Accepted Solution

by:
StangLady earned 200 total points
ID: 1467616
If you used the Select Record expert, you can view and change the query generated by that menu option by selecting the Database option from the main menu. On that drop down there is a Show SQL Query option on the menu.  From there you can modify the query.
0
 

Expert Comment

by:StangLady
ID: 1467617
If you used the "Select Record expert" an SQL statement is generated.  To look at or modify this statement, select the Database option from the main menu and then select the Show SQL Query option.  You will see the SQL statement and should be able to modify it.
0
 

Author Comment

by:lizer
ID: 1467618
Hello !

Thanks for your interest in my question. Unfortunatelly I cannot change "SELECT" part of the query. Only "WHERE" and "FROM" parts can be changed and I want to replace "SELECT" by "SELECT DISTINCT"

Best Regards !

Marcin.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now