Need subreport on form to show one record

ZenDiagram

Registered User.
Local time
Today, 18:02
Joined
Aug 28, 2018
Messages
37
Hello,

I posted yesterday about not being able to edit my form because it was based on a read only query.

Now that I have my form edit-able again, I need to show fields from other tables on the form.

I made a report with the owner's information. I dragged it onto the form as a subreport. But, the subreport shows all records for each owner. I just want to show one per form.

How can I do this without screwing up my form again ?

Thanks.
 
Dragging the table to the form doesn't do it all.
You must set the property of the subForm to show only that master key.
Set subForm properties:
Master form field,
And
Child form field

Then the subForm only shows the records that belong to the master id.
If you only want to see 1 record (in a many record set)
The sub query show be set to :top 1
 
Ok - I have linked master and Child fields. Now I want to show only one record per owner.

How and where do i set the sub query to: top 1?
 
did you make the master/child link fields to the Sub Report?
 
Pat Hartman,

I have tried that but it made the form "read only". Correct me if I'm wrong, but if I make a query that joins two or more tables together as the form's record source, it will make the query un-editable (or "read only").

Also I'm not really sure what a "join" is. Is that when the record source has two or more tables with a relationship?
 
Here is a photo of the form property query showing the relationships between my tables/ query.
 

Attachments

  • Access DB Query.jpg
    Access DB Query.jpg
    96.4 KB · Views: 122

Users who are viewing this thread

Back
Top Bottom