Microsoft
Software
Hardware
Network
Question : Subreport within a subreport
Table1, Primary Key fieldname = "KEY", Record with KEY fieldvalue = 'ABC"
Table2, Foreign Key fieldname = "KEY", 3 records that have KEY fieldvalue = "ABC", 20 fields
Main report selects from Table1
I want a subreport that prints the 20 fields from Table2 in Table format. 20 fields is too wide, so I created 2 Subreports to place within Subreport1 (1st 10 fields in Subreport1.1, 2nd 10 fields in Subreport 1.2)
Am unclear how to LINK the subreports so that they will select records from Table2 that match the KEY value in Table1: Main Report ---> Subreport1 ---> Subreports 1 & 2
Any thoughts?
With Regards-
Sam
Answer : Subreport within a subreport
OK - I found it.
I open Subreport1 in New Window:
Property Sheet, Report, Data, Record Source: SELECT [Table2].[KEY], [Table2].[Field1]... FROM Table2;
The Record Source needs to be changed to Table1
Random Solutions
How to generate autonumber value on add new record
SSRS using BIDS in SQL Server 2008
MS Access and DAT files
Move cursor to field using after update event
Windows 7 CTRL SHIFT Arrows problem
How to prevent #Null! in an access report
Antigen Anti-Spam engine changeover
Select A Node ASP.NET TreeView Control Programatically
Excel Visual Basic
encryption not supported on client