Solved

Crystal Report problem !!!

Posted on 1998-08-03
4
207 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using Access 8 59
Convert VB6 MSXML2.ServerXMLHTTP process to C# 2 42
Modifying Conditional Format from VBA code 3 49
TT Auto Dashboard 13 85
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

861 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

23 Experts available now in Live!

Get 1:1 Help Now