Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from 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.

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. …
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

786 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