Solved

Crystal Report problem !!!

Posted on 1998-08-03
4
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

691 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