We have a similar program and it requires the following;
display file created with RSTDSP(*YES) we also use DFRWRT(*YES)
On the record format(s) use OVERLAY
You also require a dummy record which needs to be in the display file but
not needed to be referenced in the RPG program
A*
A R DUMMY
A ASSUME
A 1 3' '
We also have record formats to suit both *DS3 and *DS4 (24 x 80 and 27 x
132) depending on the screen size of the calling program.
Cheers
Don
From: "Howie, Bill" <BHowie@xxxxxxxxxxxxxxxx>
To: "midrange-l@xxxxxxxxxxxxxxxxxx" <midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 03/04/2020 12:55 AM
Subject: Pop-up calendar program and retaining previous display
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
Hello all,
I'm currently working on a subfile program. The user can press a function
key to subset the data in the subfile by date. I've got a pop-up calendar
program that displays the calendar in a window for the user to select a
particular day. Every time the calendar displays, the subfile disappears.
I initially thought this was some combination of the use of the OVERLAY
keyword but I've not been able to hit upon the combo that works yet. This
is one program calling a second program, so I'm not sure how that plays
into it. Am I on the right track with the OVERLAY keyword or no? All
info appreciated!
[Related image]<
https://www.hc-companies.com/>Bill Howie
Senior ERP Programmer/Analyst Consultant
Direct: 330.487.3739 | Cell: 330.495.5627 | Toll Free: 800.225.7712
2450 Edison Blvd, Suite 3, Twinsburg OH 44087
hc-companies.com<
https://www.hc-companies.com/>
Leader in Horticultural Containers
[cid:image003.png@01D608DD.1EC61160]<
https://www.linkedin.com/company/the-hc-companies> [
cid:image004.png@01D608DD.1EC61160] <
https://www.facebook.com/HCCompanies/
[cid:image005.png@01D608DD.1EC61160] <
https://www.instagram.com/hccompanies/> [
cid:image006.png@01D608DD.1EC61160] <
https://twitter.com/hc_companies>
Disclaimer
The information contained in this communication from the sender is
confidential. It is intended solely for use by the recipient and others
authorized to receive it. If you are not the recipient, you are hereby
notified that any disclosure, copying, distribution or taking action in
relation of the contents of this information is strictly prohibited and
may be unlawful.
This email has been scanned for viruses and malware, and may have been
automatically archived by Mimecast Ltd, an innovator in Software as a
Service (SaaS) for business. Providing a safer and more useful place for
your human generated data. Specializing in; Security, archiving and
compliance. To find out more visit the Mimecast website.
As an Amazon Associate we earn from qualifying purchases.