Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
How to suppress empty reports in Print Manager
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
241
Members:
0
Total:
241
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
How to suppress empty reports in Print Manager
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Woozy
Veteran Member
Posts: 709
1/16/2013 5:36 PM
I have a custom batch report that includes secondary "error" report. When I run the program, the error report appears in Print Manager, even if it is empty (i.e. no errors). When I select that report from Print Manager is shows "No Data in Report File - Check Report Parameters for Possible Error Message".
Is there some way to suppress this report in Print Manager if it is empty?
Thanks! Kelly
Woozy
Veteran Member
Posts: 709
1/16/2013 5:51 PM
I figured it out. I can wait to do my "OPEN OUTPUT ERRORS-FILE" call until the first time I try to write to the error report. At the end of processing, I check to see if the file has been opened before I attempt to do the "CLOSE ERRORS-FILE". Works like a charm.
Please let me know if there are issues with this approach. Thanks!
You are not authorized to post a reply.