Item Not Found in Collection (1 Viewer)

KACJR

Registered User.
Local time
Yesterday, 23:43
Joined
Jul 26, 2012
Messages
81
Greeting to the well of knowledge...

I hope someone can explain to me what happens when a report is printed.

I have a report that "previews" fine. I can scroll through all the pages and everything looks right and proper.

When I hit the print button in the ribbon, I get the dreaded "Item Not Found in Collection" error.

Why would this happen because of printing? :banghead:

Regards,
Ken
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 20:43
Joined
Aug 30, 2003
Messages
36,123
Different error than I'd expect, but does it refer to a form that was open when the preview opened but was closed before the print?
 

KACJR

Registered User.
Local time
Yesterday, 23:43
Joined
Jul 26, 2012
Messages
81
Interesting. The report does contain a subreport. When I removed the subreport, the report printed with no errors.
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 20:43
Joined
Aug 30, 2003
Messages
36,123
Curious. The subreport previews okay? Is there any code running?
 

KACJR

Registered User.
Local time
Yesterday, 23:43
Joined
Jul 26, 2012
Messages
81
Just one line of code in the Detail section that concatenates FirstName and LastName into FullName.
 

JHB

Have been here a while
Local time
Today, 05:43
Joined
Jun 17, 2012
Messages
7,732
Show the code you've.
What happen if you remove that code in the Detail section?
 

Users who are viewing this thread

Top Bottom