• Subject: RE: Detecting if changes were made to a screen
  • From: Bob Crothers <bob@xxxxxxxxxxxxxx>
  • Date: Mon, 22 Mar 1999 14:49:21 -0000
  • Organization: Cornerstone Communications, LLC

Check out the CHANGE keyword.  It sets on an indicator if the screen 
was modified.  Of course, if the user changed something, changed it 
back and pressed Enter, you would still get the change indicator, but 
it sure is easy to use!

Bob

-----Original Message-----
From:   as400mail@smtpmail.nationcredit.com 
[SMTP:as400mail@smtpmail.nationcredit.com]
Sent:   Monday, March 22, 1999 11:07 AM
To:     MIDRANGE-L@midrange.com
Subject:        Detecting if changes were made to a screen

Short of saving multiple input-field data to saved fields, and then 
continually
comparing all the input fields to the corresponding saved fields, is 
anyone
aware of a more simple way to detect if the user has made any changes 
to fields
on a displayed screen (record)? In other words, I want to display a 
screen
record, and then monitor if the user has made any changes to the 
fields. If so,
process one way, and if not, process an alternate way. (This is NOT a 
subfile,
simply a displayed screen (record).) I know I can"READ" the screen, 
but what do
I compare it against? In D-Specs can I create a dummy "screen record" 
using the
"LIKE" keyword? (I'm working in RPG-IV, V3R2)

TIA,

David Stobberingh
Nationwide Credit/Phoenix, AZ

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to 
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: 
david@midrange.com
+---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.