Linking SubReport Issue

I have a field in the main report that I want to use to link to a subreport and only display the informaton that meets that fields value. I have the subreport set up and when I go to create the link it can link with either the ?PM-MISC.RUNNUMBER or Select data or subreport based on field. When I just use the first I get all the data (many different run numbers, not just the matched number form the main report.) When I check the second one I get nothing. .
Any ideas?
Jim

Hi..
Where you are inserting this sub report ?  Try to create a group on the field which you are linking to sub report.  Place sub report on group footer.
Link sub report with ?P M to sub report field.
Thanks,
Sastry

Similar Messages

  • Urgent help required - linked subreport keeps asking for parameter value

    Greetings,
    I have developed a report in the Crystal Reports bundled with Visual Studio 2005. The data is obtained from a stored procedure. One of the fields in the result set is named "Id".
    I have embedded a subreport in the details row of the main report. The subreport also gets its information from a stored procedure. This stored procedure has one parameter named "OpportunityId". This field is linked to the field named "Id" above. the subreport has been set to supress blank subreports.
    In the development environment and running the executable of the application on the development machine the report works perfectly. The subreport displays as it should and all is well.
    When I deploy the report onto user machines where they have the crystal runtime installed, the report keeps asking for a parameter value for the subreport.
    I cannot get this to stop happening.
    This report is urgently required. PLEASE could someone help me out here.
    I am at my wits end.
    I have attached a zipe file containing the following:
    - the two stored procedure
    - the rpt file
    - a sample report
    - a screen showing the report having just been generated
    Thanks in advance,
    Robert Lancaster

    <p>Hi Robert,</p><p>I see your report template and stored procedures. All seems to be ok. <br /></p><p>The most important is to assign the report parameters for all linked subreports (only one in your case).</p><p> </p><p>Try this (in C#, in VB.NET the code are very similary): </p><p>ReportDocument report = new ReportDocument(@"TopFortyReport.rpt");</p><p>AssignParameters(report, paramCollection);</p><p>// and now assign parameters to all linked subreports </p><p>foreach( CrystalDecisions.CrystalReports.Engine.Section section in report.ReportDefinition.Sections)</p><p>{</p><p>    foreach (CrystalDecisions.CrystalReports.Engine.ReportObject reportObject in section.ReportObjects)<br />    {</p><p>        if (reportObject.Kind == ReportObjectKind.SubreportObject) </p><p>        {</p><p>            SubreportObject subReport = (SubreportObject)reportObject;</p><p>            ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName);                                               AssignParameters(subDocument, paramsCollection);</p><p>        }</p><p>} </p><p> </p><p>void AssignParameters(ReportDocument report, object[] paramsCollection)</p><p>{</p><p>    int nParams = paramsCollection.Length;</p><p>    for (int iParamIndex = 0; iParamIndex < nParams; iParamIndex++)</p><p>    {</p><p>        if (report.DataDefinition.ParameterFields[iParamIndex].IsLinked())</p><p>            continue;</p><p>        report.SetParameterValue(iParamIndex, paramsCollection[iParamIndex]);</p><p>    }</p><p>}</p><p> </p><p> </p>

  • How to Create a Linked Subreport in Crystal Report for Enterprise

    Hi All
    I am developing a monthly report grouped by cost centre, I want to create a second table for each cost centre showing year to date, underneath the monthly data for that cost centre.  My thoughts on how to achieve this is to create a linked subreport in the group footer of the cost centre grouping.  However every time I try to set this up the report crashes.  Am I doing something wrong, can this be done in crystal reports for enterprise?  Can anyone give me a pointer on how to set up a linked subreport so that it passes the particular cost centre the report is grouped upon into the subreport so it only shows data relevant to that cost centre?
    Any help will be appreciated as I am going in circles at the moment.
    Thanks
    Neil
    Edited by: SmiddyLad on Feb 6, 2012 2:49 AM

    Hi Neil,
    You are doing right. You can create linked subreport in crystal report for enterprise.  Please refer below link to see the elearning tutorial  in which a simiar scenario is explained step by step. Here its an unlinked subreport. Enable subreport filter to make it linked and try. It should work.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/200c56fc-5a02-2e10-36a1-ba3d28e31fc2]
    Hope it helps you.
    Regards,
    Nikhil Joy

  • What exactly means Linked Subreport?

    <p>What exactly means Linked Subreport?</p><p>When i create a primary report with fields customer id & Country and subreport with Customer id & Lastyear&#39;sSales and try to link the subreport by selecting Customer id the subreport shows only the data for last record from primary report.</p><p>Not clear about the linking subreports...</p><p>Linking should show all the fields matching for Customer id or only the last record?</p><p>Need an detailed explanation as is it is not clear... </p><p>&#160;</p>

    Firstly,
    Is it on Demand-Subreport?... If not where are you placing the subreport if it is in Report Footer it will show only last record for data from primary report.
    Place the Subreport in Details Section and you will see the corresponding records for the Customer ID but before that you have to link it on Customer ID.
    Thanks
    Rahul

  • Pdf links & dropbox issues

    Hi ,
    I got this problem, some of my hyperlinks (downloadable pdf) are not displayed when i'm testing my site, the new window open but nothing happen
    I wonder, may be its because I've put them in my dropbox in first place ?
    I noticed dropbox link have issues to, link can't be downloaded
    How to do it , link pdf file properly ?
    Thanks

    You don't need to use Dropbox to host your PDFs for download, Muse will do this natively for you.
    >In Deisgn Mode click on the text image, etc thato you want to be your active link to download.
    > In the toolbar at the top of the page click the drop dowb menu next to "Hyperlinks"
    > Scroll down to "Files" section, then to "Link to File" and then navigate on your HD to where your PDF is. This then links that PDF up and when you upload your site to a testing site or to your server, the PDF will be included in the upload to then be downloaded by your users.

  • Mini Displayport to Dual-Link DVI Issues on 30" Cinema Display

    I know this problem has been around for a while, and that there are several other discussion on it, but my goal here is to point out that even in mid-2011, this issue remains.
    Here's my configuration:
    30" Cinema Display
    Dual-link MDP to DVI adapter with 1.03 firmware (purchased August 2011 from an Apple Store)
    New-ish MacBook Pro (purchased December 2010) with Mini Displayport
    Symptoms:
    On dark areas of the screen, DVI noise appears (horizontal flickers of light coming and going at random)
    Attempted Fixes:
    Unplugging the display and plugging it back in to the computer (failed)
    Restarting the computer (failed)
    Tightening the connections on the Dual-Link DVI adapter (failed)
    Sleeping the display and awaking it (failed)
    Some suggest getting a new 27" Cinema Display with native Mini Displayport/Thunderbolt support. I actually have one, but I cannot tolerate the glare on the glossy displays, so I'm "downgrading" to a 30" Cinema Display.
    Is there any remaining hope for this issue?

    I still cannot understand why you would return everything... Ultimately you want this computer right? Once the bugs on the adapter are fixed are you gonna go back and re-buy it?
    Seems like a lot of time spent out of spite and not for good reason. Me, this is the best Mac I've ever owned (and I've owned many. no, really.) and I'm happy to wait for this adapter w/ this machine in stead of going back to my other box.
    I observed a similar client of mine w/ an iPhone... after the first week, he didn't like the keyboard and a few other things, so he took it back and went back to using his Blackberry -only to dump the Blackberry again for the iPhone, because he realized that the iPhone still did more things better than the Blackberry.
    J.

  • Report Builder Subreport issue.

    Recently, I've taken my church's fundraising database
    (Access) and moved it to a hosted server. I've written CF code to
    maintain all the tables and used Report Builder to create reports
    (such as Bid Sheets, Labels, Thank You Letters). BTW, Report
    Builder and cfreport ROCKS! However, I'm now trying to complete the
    Thank You Letters to our contributors and I've run into a bit of a
    snag....
    The letter starts out with a couple of paragraphs thanking
    them for their contribution(s). I then print a list of all the
    items they donated, followed by a couple of paragraphs summarizing
    and re-thanking them.
    The list of items is a Subreport linked to the main query.
    This works great by listing all their items. However, if the list
    contains more than 3 or 4 items, it covers up part, if not all, of
    the concluding paragraphs. I've gone in and change the positioning
    of the concluding paragraphs to "Float" but when I process the
    letter, CF hangs up and I finally get a JRun error. Then I have to
    ask the hosting service to restart CF. The hosting service is
    Godaddy.com and they are currently running CF 7.
    Any ideas how I can solve this problem?
    Regards,
    Robert

    To get extra pages just create some bogus groups on a field
    that is unique. You can then turn on the setting to Add a Page
    Break and completely hide the band, it'll work as your page break.
    To see the binding panel, click on the subreport and look for
    Subreport Parameters in the Properties Inspector, clicking on the
    "..." will bring up the binding panel.

  • Link subreport to the main report in Crystal

    Hi expert,
    I have a Crystal Report with a row that cointais a Total Field.
    Is possible to add a hypertext link, that open a subreport with all the details?
    Exaple: CardCode: C00001 Account Balance: 14120,50. If i click on the Total of account balance, i open a subreport (linked with the key). Is the same of drill down (perhaps), but I can't use drill down.
    Anybody can help me??
    Regards
    Marco

    Marco,
    try the following:
    make the report into the structure of:
    Group: CardCode
    In the group header delete your group name field, and add your subreport.
    Right click on the subreport, and on format subreport.
    On the subreport tab, there is an option: on demand subreport. Check that in.
    After that you can define a formula ( for example your cardcode ) at On-demand Supreport Caption.
    Hope this helps.
    Regards,
    D

  • Linking Subreports based on group in the main report

    Hello,
    I have a main report that groups by department, month, and then employee name.  I put a subreport in at the month and name level (it brings back statistics for a particular employee for the chosen month).  The subreport is based on a completely different set of data.  I want the subreport to pull just the data for the individual month and employee into that employees monthly section.  How do I link the subreport?  It seems like it should be pretty straightforward, but I can't get it to work.  Do I need to set up groups in the subreport?  I am a beginner and appreciate your help.
    Thanks,
    Al

    How I would do it is as follows
    Create a Formula Field and choose the group name e.g.
    GroupName ({migsol_oppact.COMPANY})
    Then link the sub report using that Formula Field

  • OBIEE 11g Action Link translation issue

    Hi All,
    I have a translation issue with the Action links in OBIEE 11.1.1.5 version.
    The pop-up which is displayed on clicking the column having action link is not getting translated. This seems to be the issue with all the action links.
    All other catalog objects, captions etc are translated properly.
    Has anyone faced similar issues ? Is there a workaround for this ?
    Thanks for any pointers.

    Action links are not getting translated. I faced a similar problem in OBIEE 11.1.1.6 version.
    What you can do is replace that action link with a 'link or image' option in dashboard objects.
    'Link or Image' types of object get translated in OBIEE 11.1.1.5 as well as OBIEE 11.1.1.6 version.
    hope this helps.

  • LINKED SERVER ISSUE on ORACLE DATABASE

    Hi everyone
    I have SQL 2008 R2 Running on Windows server 2003 R2 OS.
    I have created a linked server to ORACLE 11
    I have may jobs running process against this linked server and thy work fine
    But soddenly I receive this error :
    Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "WMS". [SQLSTATE 42000] (Error 7303).  The step failed
    In this scenario the SQL SERVER AGENT Account is the Domain administrator.
    When I restart the Server it begin to work fine again but from time to time I receive again the error mentioned above.
    Have any one pass through this issue?

    Is the network connection to Oracle box stable? Is it inside a firewall?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • View Link Editor Issue - empty query clause if based on association

    JDeveloper 10.1.2
    Setup:
    - entities A and B
    - a 1 to * association from entity A to entity B (A_B_association)
    - a view of A based on entity A (AView)
    - a view of B based on entity B (BView)
    - BView has an expert mode query
    Create a view link from table A to table B:
    - choose the A_B_association under AView for the source attribute
    - choose the A_B_association under BView for the destination attribute
    - click add
    - click next
    issue: the query clause is empty
    - click next:
    info dialog pops up;
    title = "Business Components"
    message = "Restoring the default where clause."
    Note, however, that creating a view link based on the attributes works. That is, if I choose the primary key attribute under AView for the source attribute, and the corresponding foreign key attribute under BView for the destination attribute, then the wizard generates the expected query clause.
    If I create a new project and recreate the entities, the views, and the association, then I can successfully create a view link based on the association. The foreignKey value on the association end was different in the new association XML file.  I modifed the old XML file so that it used the same foreignKey element, but that did not seem to work.
    I am guessing that this is some sort of user error on my part or that we have otherwise managed to squat up our XML files.
    Any tips, hints, or ideas appreciated.
    Thanks,
    Steve

    The problem is in AView.
    We had modified the AView at one point, then reverted it to a default view of entity A. Here, "a default view" means that we undid our custom changes (apparently not thoroughly enough); that is, we did not delete it and create a default view from scratch using the contextual menu on the A entity.
    The bottom line is that the AView attributes were not being mapped to the entity -- they were showing up as calculated attributes.
    We created a "New Default View Object..." from the contextual menu of entity A, then manually corrected the AView.xml file to solve the problem.

  • Dual Link Display Issue on 30" LCD

    Can I use "Mini DisplayPort to VGA Firmware Update" to my "Mini DisplayPort to Dual-link" cable?
    Or this update is only for "Mini DisplayPort to VGA" cable?
    (update URL ; http://support.apple.com/downloads/Mini_DisplayPort_to_VGA_FirmwareUpdate)
    Now I have flickering and swaying display issue.
    (Mini DisplayPort to Dual-link cable + DELL 3007WFP 30" LCD Monitor)
    So I hope this update can be solve my problem.

    DD
    there are several threads open on this - all stem from problems with the adapter cable (MB571Z/A)
    here's one:
    Topic : Mini Displayport to Dual-Link DVI not working?
    http://discussions.apple.com/thread.jspa?messageID=9294777&#9294777
    also see the product reviews:
    http://store.apple.com/us/product/MB571
    I have the new Mac Mini and a 30" Apple Cinema Display - basically, it 'works' but there are many problems - screen blinks & resolution degrades intermittently, screen saver sometimes crashes into a scramble, and sleep sometimes becomes coma.

  • Troubles with linking subreport with an SAP Query variable

    Hi there
    I have a main report mith a subreport placed in the detail section.
    Both reports base on an Bex Query and have Query-variables. While linking the subreport i can not select the parameter which is based on the Bex variable in the subreport.
    While connecting other parameters /variables i learned, that Crystal cannot determine the type of data of a Bex variable, right?
    Because of that i built formulas which convert my values into strings and these strings can i connect in the subreport linking.
    Unforntunately this does not work with this on variable. In Bex this is a Number. I tried to link with the corresponding field in the Detail section (which is a number, too) and i tried with the string, but both does not work. I can not select this Parameter.
    Any idea how to determine the datatype of this Parameter (based on Bex Variable) i have to provide?
    Thanks in advance
    Alex

    Hi Ingo
    Well, i knew that thing with the same types already, as i mentioned it in my post.
    In this problematic case I want to connect a field of the detail row to a prameter in the subreport. This Parameter is coming from a Bex Variable. I treid with values of oll types - it doesn't work. How can i determine the type that Crystal assignes to the Be variable?
    Alex

  • SQL Server Linked Server Issues with MVC 5

    I have 2 linked servers
    Server A = MYOB  ( custom 32 it ODBC Driver ) 
    Server B = SQL Server 64 Bit.
    They link fine using windows authentication - and I can run the following no problem in SQL Management tools ( as part of a stored proc ) . 
    DECLARE @MaxID varchar(100)DECLARE @Query varchar(MAX)
    -- Insert Sales
    SELECT @MaxID = MAX(SaleID) FROM [r2hserver\SQLexpress].artoo.dbo.MYOB_Sales
    SELECT @Query = 'INSERT [r2hserver\SQLexpress].artoo.dbo.MYOB_Sales SELECT * FROM OpenQuery(MYOB,''SELECT * FROM Sales WHERE SaleID > ' + @MaxID + ''')'
    EXEC(@Query)
    The problem is: Whenever execute the stored procedure from within a MVC 5 Web App ( EF6 )  - I get :
    Unable to start a nested transaction for OLE DB provider "SQLNCLI11" for linked server "myserver/SQLexpress". 
    A nested transaction was required because the XACT_ABORT option was set to OFF.
    and if I set XACT_ABORT ON  - I get :  Microsoft Distributed Transaction Coordinator (MS DTC) has stopped this transaction.
    I cannot figure out how to make it run!  I have turned firewalls off  and tried many different config.
    Ideas?

    Hi Marty,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

Maybe you are looking for

  • Error while importing data in DTW

    hi,    while importing the data for items in DTW the option for browsing templates differs from normal DTW. "query params" the odd structure displayed in the tree structure when we select the data source file.for items alone i had this type of tree s

  • Is 10.4.7 required for 10.4.8?

    After I started to download the latest OS update, I noticed on the download page that v. 10.4.7 was listed as a requirement for the update. Since my current OS is 10.4.6 does that mean the update won't work (until I first download 10.4.7)?

  • Embedding downloaded artwork into files

    Is there an easy way to embed downloaded artwork into files? I have transferred some files to my PS3, but since iTunes doesn't embed the artwork it downloads to the files, only the ones I've manually added show artwork, which are very few. Is there a

  • Header Conditions in contract

    Hi Gurus When I go to header conditions in Contract, message comes that "Not possible to determine a condition type" Kindly help Regards

  • Wireless network?

    Okay, I had this problem with my first iMac and now I'm having it again with my mini G4. I am on a windows PC which connects to our wireless network (service provided by SBC Yahoo! DSL) with out any problems. The macs, however, hate connecting! My iM