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
Outlook 2003 Contact List >> File As: Need to mass change format.
capturing transaction rollbacks using SQL Server 2008 Audit
Format Image with VBA
Hide Username & Password in FTP URL
How to retrieve error number and or message from osql run from command line
Determine which table and columns a field is stored at the backend
Windows Mail on Vista to Outlook 2007 on Windows 7
i need a program to send popup messages over my LAN network
Access 2007 Error Message - "Setting for property too Long"
Report Group Subtotals and Total