Only first record from my query appears in the report (1 Viewer)

David Ball

Registered User.
Local time
Today, 17:07
Joined
Aug 9, 2010
Messages
230
Hi,

I have a query that seems to open without any problems. It opens with 63 records.
When I create a report using the report wizard only the first record from the query appears on the report.
Also, I notice that if I try to set a Sort in the query I get a message, Invalid Procedure Call.
What is likely to cause this to happen?

Thanks very much
Dave
 

theDBguy

I’m here to help
Staff member
Local time
Today, 00:37
Joined
Oct 29, 2018
Messages
21,485
Hi Dave. Did you place the controls in the Details section of your report? Can you post an image showing the design view? Thanks.
 

David Ball

Registered User.
Local time
Today, 17:07
Joined
Aug 9, 2010
Messages
230
Hi,

The text boxes are in the Detail section. I have attached an image.

Thanks very much

Dave
 

Attachments

  • Layout.docx
    37.1 KB · Views: 60

June7

AWF VIP
Local time
Yesterday, 23:37
Joined
Mar 9, 2014
Messages
5,486
Not seeing anything out of place in that design. Again, if you want to provide db, that may be the only way we can resolve.
 

David Ball

Registered User.
Local time
Today, 17:07
Joined
Aug 9, 2010
Messages
230
Hi,

I have attached a stripped down database. The report seems to open OK with 99.9% of data stripped out of the tables.

The query in question is qryW-CIV-TANKS-Dates and the report is rptTEST.

Please note that two fields in the query, TankNo and TankNumber, are derived from fairly complex formulas in an earlier query. This could be part of the problem.

Thanks very much

Dave
 

Attachments

  • Example.accdb
    800 KB · Views: 70

isladogs

MVP / VIP
Local time
Today, 08:37
Joined
Jan 14, 2017
Messages
18,246
All 7 records from your query appear in the report for me
 

David Ball

Registered User.
Local time
Today, 17:07
Joined
Aug 9, 2010
Messages
230
Yes, after I stripped the my tables down to seven records each the query and report both open. When I had a thousand odd records in my tables the report only showed the first record from the query.
 

isladogs

MVP / VIP
Local time
Today, 08:37
Joined
Jan 14, 2017
Messages
18,246
OK but it does make it difficult to advise as the example as presented does work!
 

Users who are viewing this thread

Top Bottom