Why is our report printing duplicate records? (1 Viewer)

access2010

Registered User.
Local time
Today, 11:09
Joined
Dec 26, 2009
Messages
1,021
Could I please receive an idea as to why our report (using Access 2003) is printing the same record multiple times and how we should fix this problem?

Thank you

Nicole
 

Attachments

  • Report_Duplicate_Records=08.mdb
    564 KB · Views: 109

CJ_London

Super Moderator
Staff member
Local time
Today, 19:09
Joined
Feb 19, 2013
Messages
16,606
check your query, you are linking on symbol_stock. There are 15 of these in one table and 3 in the other, so the data will repeat 45 times.

You have not set up relationships so difficult to know what is supposed to happen, but looks like your purchase sales table needs a FK to the investment table
 

access2010

Registered User.
Local time
Today, 11:09
Joined
Dec 26, 2009
Messages
1,021
Thank you, CJ for your note.
I have never used a FK (foreign key), how would you suggest to do this for our report, to show the records as in the attached Pdf?

Thank you,
Crystal
 

Attachments

  • Report_Duplicate_Records=09.pdf
    172.7 KB · Views: 211

CJ_London

Super Moderator
Staff member
Local time
Today, 19:09
Joined
Feb 19, 2013
Messages
16,606
As said, not sure what your relationships are so difficult to advise.
 

access2010

Registered User.
Local time
Today, 11:09
Joined
Dec 26, 2009
Messages
1,021
Thank you CJ for your mentioning of our relationships.
I think that we have found the problem with multiple records.
How can I continue to use our table = Investments01_tbl
And use the field = OneRecord_Research = as a filter
To group only the records that have the word = Research = in them
I do appreciate your assistance
 

Attachments

  • Report_Duplicate_Records=11.mdb
    852 KB · Views: 119

CJ_London

Super Moderator
Staff member
Local time
Today, 19:09
Joined
Feb 19, 2013
Messages
16,606
use a criteria. either

WHERE OneRecord_Research='Research'

where it just has that one word

or

WHERE OneRecord_Research Like '*Research*'

where it is one of the words - e.g. 'Initial Research'

then change the query to an aggregate (group by) query
 

access2010

Registered User.
Local time
Today, 11:09
Joined
Dec 26, 2009
Messages
1,021
use a criteria. either

WHERE OneRecord_Research='Research'

where it just has that one word

or

WHERE OneRecord_Research Like '*Research*'

where it is one of the words - e.g. 'Initial Research'

then change the query to an aggregate (group by) query
Thank you, CJ London, for leading me to a great new faction, an Aggregate Query.
I have created the query in the attached database, but have not been able to connect the = Investments01_Q_Aggregate = to the form and report.
Would you please be kind enough to correct the attached database for us?

Thank you,
Crystal
 

Attachments

  • Duplicate_Records_AggregateQ =17.mdb
    564 KB · Views: 141

Users who are viewing this thread

Top Bottom