?
Solved

Crystal Report problem !!!

Posted on 1998-08-03
4
Medium Priority
?
211 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 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

777 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