[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

Crystal Report problem !!!

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
lizer
Asked:
lizer
  • 2
1 Solution
 
watyCommented:
Did you restrict your query by going to the menu "Select Record expert". In this menu, you can restrict whatever you want
0
 
StangLadyCommented:
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
 
StangLadyCommented:
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
 
lizerAuthor Commented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now