× 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.



I have a few "issues" with a subfile program that I attribute to the
functions that a dspf handles all by itself.  However, I need to explore all
the alternatives.

It is a simple subfile program, one dspf, showing a list with one column
permitted for input.  All records from the source data file are displayed by
the subfile and since the file is small enough, I load the whole file upon
initialization.  Add and delete are not permitted.  The only thing the user
can do, is change the data in one column.  The only additional wrinkle is
that it provides a second line of subfile information using the SFLDROP
keyword assigned to a function key as a toggle.

Here is the 1st  issue I am trying to resolve:  The user does something on
the screen that causes the rpg program to display a message on line 24.  The
user then presses scroll up, down or the SFLDROP function key and the
message remains because the dspf handles these functions and the rpg program
has not yet received control.  Is there a keyword I could be using?

2nd issue:  User makes changes on the subfile and presses enter.  Program
displays a window with a confirmation message, waiting for user response.
Since the rpg program goes from exfmt of the subfile to exfmt of the window,
the entries on the subfile are not rewritten in edited form.  I have tried
using CHECK(RB).  It works somewhat.  Upon "field exit" it will right
justify the input, however it will not edit in zeros below the decimals if
the user only entered a whole number.

The only way I have come up with to handle these issues is to abandon the
keywords and for the rpg program to take complete control of subfile
scrolling and to add a second 2-line subfile that I keep synchronized with
the first to toggle to instead of SFLDROP.  

I have pointed out that this behavior is not unusual and appears in other
legacy programs in the system.

Richard L. Weber  |  Senior Systems Analyst, TOYS 'Я' US International  |
973.617.3497  |  weberr@xxxxxxxxxxx <mailto:weberr@xxxxxxxxxxx> 



======================================================================== 
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to EmailAdmin@xxxxxxxxxxxx 
Toys "R" Us, Inc.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.