× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



After your Exfmt statement, issue a read statement of the format that
contains your additional information.



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Booth Martin
Sent: Saturday, October 27, 2012 2:55 PM
To: RPG programming on the IBM i / System i
Subject: Push button on screen with subfile

Push button on screen with subfile:

Yes, I know green screen is old-school. But I am old-school, too, so its
OK. :)

I have a 5250 screen with two subfiles - the left subfile lists a few
states, and when a user selects one of those states, then the right-side
subfile is populated with cities from that state. Then, the user can
select one or many of those cities from the second subfile. I did this just
as a demo of the use of radio buttons, check boxes, and scroll bars in an
ordinary 5250 green screen. It works decently. A screen shot is at
http://www.martinvt.com/Subfiles/Two_Subfiles/two_subfiles.html

I was unable to add push buttons to the Footer of the screen and read them.
Since I couldn't make it work, that probably means I don't understand what
is happening, and therefore the following explanation
may be very, very wrong. There are four record on the screen, three
with elements that are input-capable. But it appears to me that only one
record can be input-capable at a time. When I have an exfmt line, only the
elements on that record are read. The result is that a user can not click
the push buttons if either subfile is active.

My question is: is it possible to read more than one record at a time?



--
Booth Martin
802-461-5349
http://www.martinvt.com

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2441/5357 - Release Date: 10/27/12



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.