473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access 97 Subform v. Subreport

What are some of the differences between subforms and subreports?
Here's my problem: I've got a form that lists a group of technicians.
The main form lists basic information (name, job title, etc) while a
subform lists specific ideas each technician has developed. The form
and subform are linked via the technician's name. This works fine-each
technician is listed, and the subform lists the ideas associated with
each person.

I've also got a report and subreport based off of the same information.
They are based on the same set of tables, with the same data included.
My problem is that no information will show up in the subreport, even
though it's listed in the subform.

The form and report are based on the same query. The subform and
subreport are based on the same table. The query's underlying table
and the subform/subreport table are linked. The underlying table's
primary key is the technician name that is linked in a one-to-many
relationship with the subform/subreport table.

Any ideas?

Nov 13 '05 #1
2 2100
Have you checked the LinkMasterFields and LinkChildFields properties of the
subreport control vs the subform control?

<na*********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
What are some of the differences between subforms and subreports?
Here's my problem: I've got a form that lists a group of technicians.
The main form lists basic information (name, job title, etc) while a
subform lists specific ideas each technician has developed. The form
and subform are linked via the technician's name. This works fine-each
technician is listed, and the subform lists the ideas associated with
each person.

I've also got a report and subreport based off of the same information.
They are based on the same set of tables, with the same data included.
My problem is that no information will show up in the subreport, even
though it's listed in the subform.

The form and report are based on the same query. The subform and
subreport are based on the same table. The query's underlying table
and the subform/subreport table are linked. The underlying table's
primary key is the technician name that is linked in a one-to-many
relationship with the subform/subreport table.

Any ideas?

Nov 13 '05 #2
Yes - they're both exactly the same. In both cases the link is the
'Name' field of the query & table.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Illya Havsiyevych | last post by:
Hello All I have splitted my MDB into MDE and data MDB. In old whole MDB I have next piece of code to create an instance of a form with subform. ..... Dim objForm As New ...
14
by: alwayshouston | last post by:
Hi All! I am working on this very small database and I am confused in the designing a simple form. I only have three tables in the database. First Table: tblExpense Columns: ExpenseID ;...
3
by: Steven | last post by:
OK.. Here's my situation. I have a subform on a parent form. When the parent form is loaded, the subreport queries data from a table in the DB. The parent form has a couple of text boxes for data...
8
by: stemo76 | last post by:
I have created a report with subform/subreports. I can see all the data on the screen but when I try to print it to a printer or adobe distiller I get 'The Microsoft Jet Database engine could not...
1
by: kkrizl | last post by:
I have a form that displays general information about an alarm permit location. There's a subform that shows detailed information about burglar alarms that have gone off at the location. When a...
2
by: Roger | last post by:
How can I access subreport objects from vba? Sample code would be appreciated.
25
by: hjozinovic | last post by:
Hi! I have a MainForm and a SubForm on it. They're linked and can be filtered, sorted etc... I designed MainReport and SubReport that should match filter and sort criteria from MainForm and...
1
by: nagileon | last post by:
Hi there The code is working fine but I don't know how to show the output of: "select count(leads.id) from leads". I did put the "Subform/Subreport" control on the Form but have no idea what...
3
by: csolomon | last post by:
Hello, I would like to copy a calculated control of an unbound control on to a report. On my form (F_SampleRequest) i have a button which opens the report. Here is the code for the button: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.