Solved

How do I do a nested Select in Crystal Reports 10?

Posted on 2010-09-03
2
814 Views
Last Modified: 2012-05-10
For example:
select IH.ItemNo,
       IH.CageCd,
       (select top 1 barcodeid ID
        from itemdtl ID
        where ID.ItemNo = IH.ItemNo
          and ID.CageCd = IH.CageCd) as BarCodeID
from itemhdr IH

0
Comment
Question by:djnnll
2 Comments
 
LVL 42

Expert Comment

by:zephyr_hex (Megan)
ID: 33598197
are you receiving an error when you use that as your SQL Command query?
0
 
LVL 9

Accepted Solution

by:
shivkasi earned 125 total points
ID: 33599001
Use sub report for itemdtl  and link  Main report with Item No.
you can place the the sub report in detail section or Groupheader(split into 2 sections) of item No.
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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

26 Experts available now in Live!

Get 1:1 Help Now