Solved

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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

18 Experts available now in Live!

Get 1:1 Help Now