Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record Selection Question

Status
Not open for further replies.

EVM

Programmer
Apr 27, 2001
14
0
0
HK
Hi all,
In order to use dynamic selection criteria, I type the following coding in the Record Selection Formula Editor:

{DatabaseField1} = {? Parameter1}
and
(
if {?parameter2} <> &quot;&quot;
then {DatabaseField2} = {? parameter2}
else 0=0
)

Although it can work, I don’t know whether I use the best method.
Do I use a correct method?? Is there any other method??
Thanks!!!
 
How do I select only unique records in Crytal Report? For example, if my report is showing duplicate entries of record such as:

Workorder# Qty Sales Order Line#
1111 100 4555 3
1111 100 4555 3

How would I tell CR to just show me one record only if duplicate?

Thanks in advance
 
What version of CR are you using?
Do you know WHY they are duplicated? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
I am using CR8. Most likely due to some multiple linking but it would take too long to explain the inadequate databse structure (Manex). Yet, my results are showing up but it has multiple items that are the same.
 
It appears that you have already found the &quot;select distcint&quot; option from another thread. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top