Item Not Found in Collection (1 Viewer)

KACJR

Registered User.
Local time
Today, 11:13
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
Today, 08:13
Joined
Aug 30, 2003
Messages
36,125
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
Today, 11:13
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
Today, 08:13
Joined
Aug 30, 2003
Messages
36,125
Curious. The subreport previews okay? Is there any code running?
 

KACJR

Registered User.
Local time
Today, 11:13
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, 17:13
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