×
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.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Jerry Adams
Sent: 10 August 2007 1:45 PM
To: RPG Midrange
Subject: Subfile Control Issue
The subfile control contains fields defined as both input and output.
The subfile itself is a list of all previously entered transactions
(with a select field that can be used to select the transaction for
update or deletion). Two of the subfile control fields are promptable;
if the client presses F9 while positioned on the field, an appropriate
inquiry program is called from which the client may select the value to
use for the field.
The problem that I am having is that, after the F9 key is pressed and
the primary program's subfile is re-displayed, any previously entered
fields are cleared (blank or zero). The control logic is:
IF FKey = F9 // Prompt function
AND zzfld = 'UMA';
s#um = '***';
arq018(s#um:term);
IF s#um <> *Blanks;
uma = s#um;
ENDIF;
ITER;
ENDIF;
I have done this several times before with success; i.e., previously
entered fields are re-displayed with the values entered before the
prompt fills in data. The difference is that, in those cases, these
have been simple record panels, not subfile controls.
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.