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


  • Subject: RE: Detecting if changes were made to a screen
  • From: Ken Slaugh <ken.slaugh@xxxxxxxxxx>
  • Date: Mon, 22 Mar 1999 11:44:45 -0800

One approach:
Create a multiple occurence data structure to contain:
1. Fields as they were sent to the display file.
2. Fields as they were received from the display file.
Compare both occurences to identify differences.

Another approach:
Create hidden fields on the display file record format to contain the
values as they were sent. They will be available to use for comparison
after READ of the display file.

Ken Slaugh
Senior Programmer/System Analyst
AS/400 Professional Network Administrator/MSE
Specialist - Client Access/400
Chouinard & Myhre, Inc.

> -----Original Message-----
> From: as400mail@smtpmail.nationcredit.com
> [SMTP:as400mail@smtpmail.nationcredit.com]
> Sent: Monday, March 22, 1999 8: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.