Solved

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

Posted on 2010-09-03
2
816 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 43

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 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